Class: LineStyle

PIXI.LineStyle

Represents the line style for Graphics.

new PIXI.LineStyle ()

Extends

Members

alignment number

The alignment of any lines drawn (0.5 = middle, 1 = outter, 0 = inner).

Default Value:
  • 0

alpha number inherited

The alpha value used when filling the Graphics object.

Default Value:
  • 1

color number inherited overrides

The hex color value used when coloring the Graphics object.

Default Value:
  • 1

matrix string inherited

The transform aplpied to the texture.

Default Value:
  • 0

native boolean

If true the lines will be draw using LINES instead of TRIANGLE_STRIP

Default Value:
  • false

texture string inherited

The texture to be used for the fill.

Default Value:
  • 0

visible boolean inherited

If the current fill is visible.

Default Value:
  • false

width number

The width (thickness) of any lines drawn.

Default Value:
  • 0

Methods

Clones the object

Returns:
Type Description
PIXI.LineStyle

Destroy and don't use after this

Reset the line style to default.