Difference between revisions of "Path2D:setTexture"

From GiderosMobile
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>Sets texture for fill and optionally apply transformation matrix to it.</translate>
 
<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 ===
+
=== <translate>Parameters</translate> ===
 
'''texture''': (TextureBase) <translate>texture to use as fill</translate> <br/>
 
'''texture''': (TextureBase) <translate>texture to use as fill</translate> <br/>
 
'''matrix''': (Matrix) <translate>transformation matrix for texture</translate> '''optional'''<br/>
 
'''matrix''': (Matrix) <translate>transformation matrix for texture</translate> '''optional'''<br/>

Revision as of 07:26, 24 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