Difference between revisions of "Transform:scale"
(Created page) |
m (0.11.0 -> 11.0) |
||
Line 1: | Line 1: | ||
− | {{newin|[[ | + | {{newin|[[11.0]]|110|type=function}} |
Scales the Transform's coordinate system. This method does not reset any previously applied transformations. | Scales the Transform's coordinate system. This method does not reset any previously applied transformations. | ||
Latest revision as of 18:31, 7 May 2019
Available since LÖVE 11.0 |
This function is not supported in earlier versions. |
Scales the Transform's coordinate system. This method does not reset any previously applied transformations.
Function
Synopsis
transform = Transform:scale( sx, sy )
Arguments
number sx
- The relative scale factor along the x-axis.
number sy (sx)
- The relative scale factor along the y-axis.
Returns
Transform transform
- The Transform object the method was called on. Allows easily chaining Transform methods.
See Also
- Transform
- Transform:reset
- Transform:translate
- Transform:rotate
- Transform:shear
- Transform:setTransformation
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info