Difference between revisions of "Sprite:setSkewX"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' in development<br/>
+
'''Available since:''' Gideros 2016.10<br/>
=== <translate>Description</translate> ===
+
'''Class:''' [[Sprite]]<br/>
<translate>Skew (aka "shear") transformation effect</translate>
+
 
<source lang="lua">
+
=== Description ===
Sprite:setSkewX(kx)
+
Skew (aka "shear") transformation effect.
</source>
+
<syntaxhighlight lang="lua">
=== <translate>Parameters</translate> ===
+
Sprite:setSkewX(kx)
'''kx''': (number) <translate>Amount of skew in range -90... 90 degrees</translate> <br/>
+
</syntaxhighlight>
 +
 
 +
=== Parameters ===
 +
'''kx''': (number) amount of skew in range -90... 90 degrees<br/>
 +
 
 +
{{Sprite}}

Latest revision as of 14:33, 13 July 2023

Available since: Gideros 2016.10
Class: Sprite

Description

Skew (aka "shear") transformation effect.

Sprite:setSkewX(kx)

Parameters

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