Difference between revisions of "TextureRegion:setRegion"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''<translate>Available since</translate>:''' Gideros 2012.08.2<br/> | '''<translate>Available since</translate>:''' Gideros 2012.08.2<br/> | ||
+ | '''<translate>Class</translate>:''' [[Special:MyLanguage/TextureRegion|TextureRegion]]<br/> | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
<translate><br /> | <translate><br /> |
Revision as of 09:29, 24 August 2018
Available since: Gideros 2012.08.2
Class: TextureRegion
Description
Sets the coordinates of the region.
TextureRegion:setRegion(x,y,width,height)
Parameters
x: (number) left coordinate of the region
y: (number) top coordinate of the region
width: (number) width of the region
height: (number) height of the region