SVGPathNode
class SVGPathNode extends SVGGraphicsNode
Draws SVG <path /> elements.
Constructor
new SVGPathNode() → {}
Draws SVG <path /> elements.
Summary
Methods from SVGPathNode
this |
Embeds the |
Properties inherited from Graphics
PIXI.BLEND_MODES |
|
boolean |
|
PIXI.Polygon |
|
PIXI.FillStyle |
|
PIXI.GraphicsGeometry |
|
PIXI.LineStyle |
|
string |
Renderer plugin for batching |
PIXI.Shader |
|
number |
|
PIXI.FillStyle |
Current fill style. |
boolean |
Current hole mode is enabled. |
PIXI.LineStyle |
Current line style. |
PIXI.Matrix |
Current shape transform matrix. |
number |
Update dirty for limiting calculating batches. |
Array<IGraphicsBatchElement> |
A collections of batches! These can be drawn by the renderer batch system. |
number |
Update dirty for limiting calculating tints for batches. |
Float32Array |
Copy of the object vertex data. |
Properties inherited from Container
T[] |
|
number |
The height of the Container, setting this will actually modify the scale to achieve the value set. |
boolean |
|
boolean |
|
boolean |
Should children be sorted by zIndex at the next updateTransform call. |
number |
The width of the Container, setting this will actually modify the scale to achieve the value set. |
Properties inherited from DisplayObject
boolean |
|
boolean |
|
PIXI.Bounds |
The bounds object, this is used to calculate and store the bounds of the displayObject. |
PIXI.Bounds |
Local bounds object, swapped with |
boolean |
|
boolean |
|
string |
|
string |
|
?string |
|
string |
|
number |
The opacity of the object. |
number |
|
boolean |
|
number |
|
number |
|
boolean |
Should this object be rendered if the bounds of this object are out of frame? |
PIXI.Rectangle |
|
string |
|
boolean |
Readonly flag for destroyed display objects. |
PIXI.Rectangle |
|
PIXI.Filter[] | null |
|
PIXI.IHitArea |
|
boolean |
|
boolean |
Does any other displayObject use this object as a mask? |
boolean |
Used to fast check if a sprite is.. a sprite! |
PIXI.Matrix |
|
PIXI.Container | PIXI.MaskData | null |
|
string |
|
PIXI.Container |
The display object container that contains this display object. |
PIXI.ObservablePoint |
|
PIXI.ObservablePoint |
|
boolean |
|
number |
|
PIXI.ObservablePoint |
The scale factors of this object along the local coordinate axes. |
PIXI.ObservablePoint |
|
PIXI.DisplayObject |
|
PIXI.Transform |
|
boolean |
|
number |
|
PIXI.Matrix |
|
boolean |
|
number |
|
number |
|
number |
The zIndex of the displayObject. |
number |
Flags the cached bounds as dirty. |
PIXI.Rectangle |
Cache of this display-object's bounds-rectangle. |
boolean |
If the object has been destroyed via destroy(). If true, it should not be used. |
PIXI.Filter[] |
|
number |
|
PIXI.Rectangle |
Cache of this display-object's local-bounds rectangle. |
PIXI.Container | PIXI.MaskData |
|
PIXI.Container |
|
number |
|
Methods inherited from SVGGraphicsNode
this |
Draws an elliptical arc. |
this |
Draws an elliptical arc to the specified point. |
void |
Embeds the |
void |
Embeds the |
void |
Embeds the |
void |
Embeds the |
void |
Embeds the |
void |
Embeds the |
void |
|
Methods inherited from Graphics
Methods inherited from Container
Methods inherited from DisplayObject
Inherited Events from Container
Inherited Events from DisplayObject
|
|
|
|
|
|
Capture phase equivalent of |
|
|
|
|
|
Capture phase equivalent of |
|
Fired when the mouse pointer is moved over a DisplayObject and its descendant's hit testing boundaries. |
|
Capture phase equivalent of |
|
Fired when the mouse pointer exits a DisplayObject and its descendants. |
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
Fired when the pointer is moved over a DisplayObject and its descendant's hit testing boundaries. |
|
Capture phase equivalent of |
|
Fired when the pointer leaves the hit testing boundaries of a DisplayObject and its descendants. |
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
|
|
|
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
|
|
Capture phase equivalent of |
|
PIXI.FederatedWheelEvent |
Fired when a the user scrolls with the mouse cursor over a DisplayObject. |
PIXI.FederatedWheelEvent |
Capture phase equivalent of |
Public Methods
embedPath(element: SVGPathElement) → {this}
Embeds the SVGPathElement
into this node.
Name | Type | Description |
---|---|---|
element | SVGPathElement |
the path to draw |
Type | Description |
---|---|
this |