Difference between revisions of "Sprite:setSkewX"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2016.10<br/>
'''<translate>Available since</translate>:''' in development<br/>
+
'''Class:''' [[Sprite]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Skew (aka "shear") transformation effect</translate>
+
Skew (aka "shear") transformation effect.
 
<source lang="lua">
 
<source lang="lua">
Sprite:setSkewX(kx)
+
Sprite:setSkewX(kx)
 
</source>
 
</source>
=== <translate>Parameters</translate> ===
+
 
'''kx''': (number) <translate>Amount of skew in range -90... 90 degrees</translate> <br/>
+
=== Parameters ===
 +
'''kx''': (number) amount of skew in range -90... 90 degrees<br/>
  
 
{{Sprite}}
 
{{Sprite}}

Revision as of 20:00, 7 February 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