Class: FillStyle

PIXI.FillStyle

Fill style object for Graphics.

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 () void

Destroy and don't use after this

reset () void

Reset