PIXI.LineStyle
class LineStyle extends PIXI.FillStyle
Represents the line style for Graphics.
Constructor
new PIXI.LineStyle() → {}
Summary
Properties from LineStyle
number |
The alignment of any lines drawn (0.5 = middle, 1 = outer, 0 = inner). WebGL only. |
PIXI.LINE_CAP |
|
PIXI.LINE_JOIN |
|
number |
Miter limit. |
boolean |
If true the lines will be draw using LINES instead of TRIANGLE_STRIP. |
number |
The width (thickness) of any lines drawn. |
Methods from LineStyle
PIXI.LineStyle |
Clones the object. |
void |
Reset the line style to default. |
Properties inherited from FillStyle
number |
The alpha value used when filling the Graphics object. |
number |
|
PIXI.Matrix |
|
PIXI.Texture |
|
boolean |
If the current fill is visible. |
Methods inherited from FillStyle
void |
Destroy and don't use after this. |
Public Properties
alignment: number = 0.5
The alignment of any lines drawn (0.5 = middle, 1 = outer, 0 = inner). WebGL only.
native: boolean = false
If true the lines will be draw using LINES instead of TRIANGLE_STRIP.
Public Methods
clone() → {PIXI.LineStyle}
Clones the object.
Type | Description |
---|---|
PIXI.LineStyle |
reset() → {void}
Reset the line style to default.
Type | Description |
---|---|
void |