Get the relative position of the component within its layer.
Parameters:
Returns: an int giving the component's position, where 0 is the
topmost position and the highest index value = the count
count of components at that layer, minus 1
See also:
getComponentCountInLayer