Difference between revisions of "Sprite:getClip"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' in development<br/> === Description === Returns the coordinates of the Sprite clip range if set with setClip <source lang="lua"> (number) (num...") |
|||
Line 4: | Line 4: | ||
Returns the coordinates of the Sprite clip range if set with setClip | Returns the coordinates of the Sprite clip range if set with setClip | ||
<source lang="lua"> | <source lang="lua"> | ||
− | (number) (number) (number) (number) | + | (number), (number), (number), (number) = Sprite:getClip() |
</source> | </source> | ||
'''Returns''' (number) x-coordinate of clip origin<br/> | '''Returns''' (number) x-coordinate of clip origin<br/> |
Revision as of 10:21, 23 August 2018
Available since: in development
Description
Returns the coordinates of the Sprite clip range if set with setClip
(number), (number), (number), (number) = Sprite:getClip()
Returns (number) x-coordinate of clip origin
Returns (number) y-coordinate of clip origin
Returns (number) width of clip region
Returns (number) Height of clip region