Table of Contents

Path2D:setTexture

Available since version: Gideros 2016.04

Description:

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

Syntax:

Path2D:setTexture(texture [, matrix])

Parameters:

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