Difference between revisions of "Sprite:setSkew"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' in development<br/>
+
'''Available since:''' Gideros 2016.10<br/>
 +
'''Class:''' [[Sprite]]<br/>
 +
 
 
=== Description ===
 
=== Description ===
Set the skew (ie shear) of the Sprite
+
Sets the skew (ie shear) of the '''Sprite'''.
<source lang="lua">
+
<syntaxhighlight lang="lua">
Sprite:setSkew(kx,ky)
+
Sprite:setSkew(kx,ky)
</source>
+
</syntaxhighlight>
 +
 
 
=== Parameters ===
 
=== Parameters ===
'''kx''': (number) The x-skew of the Sprite <br/>
+
'''kx''': (number) the x-skew of the sprite<br/>
'''ky''': (number) The y-skew of the Sprite <br/>
+
'''ky''': (number) the y-skew of the sprite<br/>
 +
 
 +
{{Sprite}}

Latest revision as of 14:33, 13 July 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