TextureRegion:setRegion: Difference between revisions
From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2012.08.2<br/> === Description === <br /> Sets the coordinates of the region.<br /> <br /> <source lang="lua"> = TextureRegion:setRegi..." |
No edit summary |
||
| Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
TextureRegion:setRegion(x,y,width,height) | |||
</source> | </source> | ||
'''x | '''x''': (number) left coordinate of the region ''''''<br/> | ||
'''y | '''y''': (number) top coordinate of the region ''''''<br/> | ||
'''width | '''width''': (number) width of the region ''''''<br/> | ||
'''height | '''height''': (number) height of the region ''''''<br/> | ||
Revision as of 09:20, 23 August 2018
Available since: Gideros 2012.08.2
Description
Sets the coordinates of the region.
TextureRegion:setRegion(x,y,width,height)
'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 '