Difference between revisions of "Path2D:setTexture"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2016.04<br/>
 
'''Available since:''' Gideros 2016.04<br/>
 
=== Description ===
 
=== Description ===
Sets texture for fill and optionally apply transformation matrix to it.
+
<translate>Sets texture for fill and optionally apply transformation matrix to it.</translate>
 
<source lang="lua">
 
<source lang="lua">
 
  Path2D:setTexture(texture,matrix)
 
  Path2D:setTexture(texture,matrix)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''texture''': (TextureBase) texture to use as fill <br/>
+
'''texture''': (TextureBase) <translate>texture to use as fill</translate> <br/>
'''matrix''': (Matrix) transformation matrix for texture '''optional'''<br/>
+
'''matrix''': (Matrix) <translate>transformation matrix for texture</translate> '''optional'''<br/>

Revision as of 13:32, 23 August 2018

Available since: Gideros 2016.04

Description

Sets texture for fill and optionally apply transformation matrix to it.

 Path2D:setTexture(texture,matrix)

Parameters

texture: (TextureBase) texture to use as fill
matrix: (Matrix) transformation matrix for texture optional