Sprite:getClip

From GiderosMobile
Revision as of 13:35, 23 August 2018 by Hgy29 (talk | contribs)

Available since: in development

Description

Returns the coordinates of the Sprite clip range if set with setClip

(number), (number), (number), (number) = Sprite:getClip()

Return values

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