Sprite:setSkew

From GiderosMobile
Revision as of 14:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2016.10
Class: Sprite

Description

Sets the skew (ie shear) of the Sprite. <syntaxhighlight lang="lua"> Sprite:setSkew(kx,ky) </source>

Parameters

kx: (number) the x-skew of the sprite
ky: (number) the y-skew of the sprite