Class: LineStyle

PIXI.LineStyle

Represents the line style for Graphics.

Extends

Members

alignment number

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

Default Value:
  • 0.5

Line cap style.

Default Value:
  • PIXI.LINE_CAP.BUTT

Line join style.

Default Value:
  • PIXI.LINE_JOIN.MITER

miterLimit number

Miter limit.

Default Value:
  • 10

native boolean

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

Default Value:
  • false

width number

The width (thickness) of any lines drawn.

Default Value:
  • 0

Methods

Clones the object

Returns:
Type Description
PIXI.LineStyle

reset () void overrides

Reset the line style to default.

Inherited Properties

From class PIXI.FillStyle

alpha number inherited

The alpha value used when filling the Graphics object.

Default Value:
  • 1

color number inherited

The hex color value used when coloring the Graphics object.

Default Value:
  • 0xFFFFFF

The transform aplpied to the texture.

Default Value:
  • null

The texture to be used for the fill.

Default Value:
  • 0

visible boolean inherited

If the current fill is visible.

Default Value:
  • false

Inherited Methods

From class PIXI.FillStyle

destroy () void inherited

Destroy and don't use after this