SVGTextEngineImpl
class SVGTextEngineImpl extends PIXI.Sprite implements SVGTextEngine
SVGTextEngineImpl
is the default implementation for SVGTextEngine. It is inspired by PIXI.Text that
is provided by @pixi/text. It uses a <canvas /> to draw and cache the text. This may cause blurring issues when
the SVG is viewed at highly zoomed-in scales because it is rasterized.
Summary
Properties inherited from Sprite
PIXI.ObservablePoint |
|
PIXI.BLEND_MODES |
|
number |
The height of the sprite, setting this will actually modify the scale to achieve the value set. |
boolean |
|
string |
|
boolean |
If true PixiJS will Math.floor() x/y values when rendering, stopping pixel interpolation. |
PIXI.Texture |
The texture that the sprite is using. |
number |
The tint applied to the sprite. This is a hex value. |
number |
The width of the sprite, setting this will actually modify the scale to achieve the value set. |
PIXI.ObservablePoint |
|
number |
|
number |
|
HTMLCanvasElement |
|
number |
|
Float32Array |
|
Float32Array |
|
Properties inherited from Container
T[] |
|
boolean |
|
boolean |
|
boolean |
Should children be sorted by zIndex at the next updateTransform call. |
Properties inherited from DisplayObject
Methods inherited from Sprite
void |
Calculates worldTransform * vertices for a non texture with a trim. store it in vertexTrimmedData. |
void |
Calculates worldTransform * vertices, store it in vertexData. |
boolean |
|
void |
|
PIXI.Rectangle |
|
void |
Updates the bounds of the sprite. |
void |
When the texture is updated, this event will fire to update the scale and frame. |
void |
|
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 |