Sprite:getClip

From GiderosMobile
Revision as of 08:05, 23 January 2021 by MoKaLux (talk | contribs) (remove language stuff)

Available since: Gideros 2016.10
Class: Sprite

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