Difference between revisions of "Sprite:setSkew"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 7: Line 7:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
Sprite:setSkew(kx,ky)
 
Sprite:setSkew(kx,ky)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

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