Difference between revisions of "Sprite:getClip"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''<translate>Available since</translate>:''' in development<br/> | '''<translate>Available since</translate>:''' in development<br/> | ||
+ | '''<translate>Class</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/> | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
<translate>Returns the coordinates of the Sprite clip range if set with setClip</translate> | <translate>Returns the coordinates of the Sprite clip range if set with setClip</translate> |
Revision as of 09:29, 24 August 2018
Available since: in development
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