Difference between revisions of "Path2D:setTexture"

From GiderosMobile
Line 6: Line 6:
 
  Path2D:setTexture(texture,matrix)
 
  Path2D:setTexture(texture,matrix)
 
</source>
 
</source>
'''texture''': (TextureBase) texture to use as fill ''''''<br/>
+
=== Parameters ===
 +
'''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:37, 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