PIXI.FillStyle

class FillStyle

Fill style object for Graphics.

Summary


Properties from FillStyle

number
alpha = 1

The alpha value used when filling the Graphics object.

number
color = 0xFFFFFF
PIXI.Matrix
matrix = null
PIXI.Texture
texture = 0
boolean
visible = false

If the current fill is visible.

Methods from FillStyle

PIXI.FillStyle
clone()

Clones the object

void
destroy()

Destroy and don't use after this.

void
reset()

Reset

Public Properties


alpha FillStyle.ts:16
alpha: number = 1

The alpha value used when filling the Graphics object.

color FillStyle.ts:10
color: number = 0xFFFFFF

The hex color value used when coloring the Graphics object.

matrix FillStyle.ts:25
matrix: PIXI.Matrix = null

The transform applied to the texture.

texture FillStyle.ts:19
texture: PIXI.Texture = 0

The texture to be used for the fill.

visible FillStyle.ts:31
visible: boolean = false

If the current fill is visible.

Public Methods


clone FillStyle.ts:39
clone() → {PIXI.FillStyle}

Clones the object

Returns:
Type Description
PIXI.FillStyle
destroy FillStyle.ts:63
destroy() → {void}

Destroy and don't use after this.

Returns:
Type Description
void
reset FillStyle.ts:53
reset() → {void}

Reset

Returns:
Type Description
void

Powered by webdoc!