Difference between revisions of "Sprite:setSkew"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' in development<br/> === Description === Set the skew (ie shear) of the Sprite <source lang="lua"> = Sprite:setSkew(kxky,) </source> '''kx:'''...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(9 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(kxky,)
+
Sprite:setSkew(kx,ky)
</source>
+
</syntaxhighlight>
'''kx:''' (number) The x-skew of the Sprite ''''''<br/>
+
 
'''ky:''' (number) The y-skew of the Sprite ''''''<br/>
+
=== Parameters ===
 +
'''kx''': (number) the x-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