Class: FillStyle

PIXI.FillStyle

Fill style object for Graphics.

new PIXI.FillStyle ()

Members

alpha number

The alpha value used when filling the Graphics object.

Default Value:
  • 1

color number

The hex color value used when coloring the Graphics object.

Default Value:
  • 0xFFFFFF

matrix PIXI.Matrix

The transform aplpied to the texture.

Default Value:
  • null

texture PIXI.Texture

The texture to be used for the fill.

Default Value:
  • 0

visible boolean

If the current fill is visible.

Default Value:
  • false

Methods

Clones the object

Returns:
Type Description
PIXI.FillStyle

destroy ()

Destroy and don't use after this

reset ()

Reset