Sprite:setSkewX

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

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

Parameters

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