Represents the line style for Graphics.

PIXI

Hierarchy (View Summary)

Constructors

Properties

alignment: number

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

alpha: number

The alpha value used when filling the Graphics object.

Line cap style.

PIXI.LINE_CAP.BUTT
color: number

The hex color value used when coloring the Graphics object.

0xFFFFFF
join: LINE_JOIN

Line join style.

PIXI.LINE_JOIN.MITER
matrix: Matrix

The transform applied to the texture.

null
miterLimit: number

Miter limit.

native: boolean

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

texture: Texture<Resource>

The texture to be used for the fill.

0
visible: boolean

If the current fill is visible.

width: number

The width (thickness) of any lines drawn.

Methods

  • Destroy and don't use after this.

    Returns void

  • Reset the line style to default.

    Returns void