Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents the line style for Graphics.

memberof

PIXI

Hierarchy

Index

Constructors

constructor

Properties

alignment

alignment: number

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

member

{number}

default

0.5

alpha

alpha: number

The alpha value used when filling the Graphics object.

member

{number}

default

1

cap

Line cap style.

member

{PIXI.LINE_CAP}

default

PIXI.LINE_CAP.BUTT

color

color: number

The hex color value used when coloring the Graphics object.

member

{number}

default

0xFFFFFF

join

join: LINE_JOIN

Line join style.

member

{PIXI.LINE_JOIN}

default

PIXI.LINE_JOIN.MITER

matrix

matrix: Matrix

The transform applied to the texture.

member

{PIXI.Matrix}

default

null

miterLimit

miterLimit: number

Miter limit.

member

{number}

default

10

native

native: boolean

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

member

{boolean}

default

false

texture

texture: Texture<Resource>

The texture to be used for the fill.

member

{PIXI.Texture}

default

0

visible

visible: boolean

If the current fill is visible.

member

{boolean}

default

false

width

width: number

The width (thickness) of any lines drawn.

member

{number}

default

0

Methods

clone

  • Clones the object

    Returns LineStyle

destroy

  • destroy(): void
  • Destroy and don't use after this

    Returns void

reset

  • reset(): void
  • Reset the line style to default.

    Returns void

Generated using TypeDoc