src code

instance method Component#top

Component#top() → Number

Returns the number of pixels from the top of the screen to the top of the Component.