Fill style object for Graphics.

Memberof

PIXI

Hierarchy (view full)

Constructors

  • Returns FillStyle

Properties

alpha: number

The alpha value used when filling the Graphics object.

color: number

The hex color value used when coloring the Graphics object.

Default

0xFFFFFF
matrix: Matrix

The transform applied to the texture.

Default

null
texture: Texture<Resource>

The texture to be used for the fill.

Default

0
visible: boolean

If the current fill is visible.

Methods

  • Clones the object

    Returns FillStyle

  • Destroy and don't use after this.

    Returns void

  • Reset

    Returns void

Generated using TypeDoc