Represents the line style for Graphics.

Memberof

PIXI

Hierarchy (view full)

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.

Member

Default

PIXI.LINE_CAP.BUTT
color: number

The hex color value used when coloring the Graphics object.

Default

0xFFFFFF
join: LINE_JOIN

Line join style.

Member

Default

PIXI.LINE_JOIN.MITER
matrix: Matrix

The transform applied to the texture.

Default

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.

Default

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

Generated using TypeDoc