Difference between revisions of "Path2D:setTexture"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2016.04<br/> === Description === Sets texture for fill and optionally apply transformation matrix to it. <source lang="lua"> = Path2D:...") |
|||
Line 4: | Line 4: | ||
Sets texture for fill and optionally apply transformation matrix to it. | Sets texture for fill and optionally apply transformation matrix to it. | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | Path2D:setTexture(texture,matrix) | |
</source> | </source> | ||
'''texture:''' (TextureBase) texture to use as fill ''''''<br/> | '''texture:''' (TextureBase) texture to use as fill ''''''<br/> | ||
'''matrix:''' (Matrix) transformation matrix for texture '''optional'''<br/> | '''matrix:''' (Matrix) transformation matrix for texture '''optional'''<br/> |
Revision as of 10:11, 23 August 2018
Available since: Gideros 2016.04
Description
Sets texture for fill and optionally apply transformation matrix to it.
Path2D:setTexture(texture,matrix)
'texture: (TextureBase) texture to use as fill '
matrix: (Matrix) transformation matrix for texture optional