Difference between revisions of "Sprite:setSkew"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2016.10<br/>
'''<translate>Available since</translate>:''' in development<br/>
+
'''Class:''' [[Sprite]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Set the skew (ie shear) of the Sprite</translate>
+
Sets the skew (ie shear) of the '''Sprite'''.
 
<source lang="lua">
 
<source lang="lua">
Sprite:setSkew(kx,ky)
+
Sprite:setSkew(kx,ky)
 
</source>
 
</source>
=== <translate>Parameters</translate> ===
+
 
'''kx''': (number) <translate>The x-skew of the Sprite</translate> <br/>
+
=== Parameters ===
'''ky''': (number) <translate>The y-skew of the Sprite</translate> <br/>
+
'''kx''': (number) the x-skew of the sprite<br/>
 +
'''ky''': (number) the y-skew of the sprite<br/>
  
 
{{Sprite}}
 
{{Sprite}}

Revision as of 19:58, 7 February 2023

Available since: Gideros 2016.10
Class: Sprite

Description

Sets the skew (ie shear) of the Sprite.

Sprite:setSkew(kx,ky)

Parameters

kx: (number) the x-skew of the sprite
ky: (number) the y-skew of the sprite