Viewport:setTransform: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2016.04<br/> | '''<translate>Available since</translate>:''' Gideros 2016.04<br/> | ||
=== Description === | === <translate>Description</translate> === | ||
<translate>Specify a matrix by which the content will be transformed before being displayed.</translate> | <translate>Specify a matrix by which the content will be transformed before being displayed.</translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
Viewport:setTransform(transform) | Viewport:setTransform(transform) | ||
</source> | </source> | ||
=== Parameters === | === <translate>Parameters</translate> === | ||
'''transform''': (Matrix) <translate>A Matrix object which will be applied to the content before display</translate> <br/> | '''transform''': (Matrix) <translate>A Matrix object which will be applied to the content before display</translate> <br/> | ||
Revision as of 06:27, 24 August 2018
Available since: Gideros 2016.04
Description
Specify a matrix by which the content will be transformed before being displayed.
Viewport:setTransform(transform)
Parameters
transform: (Matrix) A Matrix object which will be applied to the content before display