Options
All
  • Public
  • Public/Protected
  • All
Menu

Fill style object for Graphics.

memberof

PIXI

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • Returns FillStyle

Properties

alpha

alpha: number

The alpha value used when filling the Graphics object.

member

{number}

default

1

color

color: number

The hex color value used when coloring the Graphics object.

member

{number}

default

0xFFFFFF

matrix

matrix: Matrix

The transform applied to the texture.

member

{PIXI.Matrix}

default

null

texture

texture: Texture<Resource>

The texture to be used for the fill.

member

{PIXI.Texture}

default

0

visible

visible: boolean

If the current fill is visible.

member

{boolean}

default

false

Methods

clone

  • Clones the object

    Returns FillStyle

destroy

  • destroy(): void
  • Destroy and don't use after this

    Returns void

reset

  • reset(): void
  • Reset

    Returns void

Generated using TypeDoc