Difference between revisions of "Sprite:setSkewX"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Skew (aka "shear") transformation effect.
 
Skew (aka "shear") transformation effect.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
Sprite:setSkewX(kx)
 
Sprite:setSkewX(kx)
 
</source>
 
</source>

Revision as of 14:31, 13 July 2023

Available since: Gideros 2016.10
Class: Sprite

Description

Skew (aka "shear") transformation effect. <syntaxhighlight lang="lua"> Sprite:setSkewX(kx) </source>

Parameters

kx: (number) amount of skew in range -90... 90 degrees