DashedLineStyle

class DashedLineStyle extends PIXI.LineStyle

Constructor


new DashedLineStyle() → {}

Summary


Properties from DashedLineStyle

number[]
dashArray = undefined

The dashing pattern of dashes and gaps to stroke paths.

number
dashOffset = 0

The distance into the dash pattern to start from.

Methods from DashedLineStyle

Properties inherited from LineStyle

number
alignment = 0.5

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

PIXI.LINE_CAP
cap = PIXI.LINE_CAP.BUTT
PIXI.LINE_JOIN
join = PIXI.LINE_JOIN.MITER
number
miterLimit = 10

Miter limit.

boolean
native = false

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

number
width = 0

The width (thickness) of any lines drawn.

Properties inherited from FillStyle

number
alpha = 1

The alpha value used when filling the Graphics object.

number
color = 0xFFFFFF
PIXI.Matrix
matrix = null
PIXI.Texture
texture = 0
boolean
visible = false

If the current fill is visible.

Methods inherited from FillStyle

void
destroy()

Destroy and don't use after this.

Public Properties


dashArray DashedLineStyle.ts:5
dashArray: number[] = undefined

The dashing pattern of dashes and gaps to stroke paths.

dashOffset DashedLineStyle.ts:10
dashOffset: number = 0

The distance into the dash pattern to start from.

Public Methods


clone DashedLineStyle.ts:15
clone() → {DashedLineStyle}
Returns:
Type Description
DashedLineStyle
reset DashedLineStyle.ts:28
reset() → {void}
Returns:
Type Description
void

Powered by webdoc!