Difference between revisions of "Sprite:setSkew"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(4 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>Class</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/>
+
'''Class:''' [[Sprite]]<br/>
=== <translate>Description</translate> ===
+
 
<translate>Set the skew (ie shear) of the Sprite</translate>
+
=== Description ===
<source lang="lua">
+
Sets the skew (ie shear) of the '''Sprite'''.
Sprite:setSkew(kx,ky)
+
<syntaxhighlight lang="lua">
</source>
+
Sprite:setSkew(kx,ky)
=== <translate>Parameters</translate> ===
+
</syntaxhighlight>
'''kx''': (number) <translate>The x-skew of the Sprite</translate> <br/>
+
 
'''ky''': (number) <translate>The y-skew of the Sprite</translate> <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