Loads an SVG image from imageUrl
or data URL
.
RegExp for SVG size.
The height of the resource.
Has been validated
The width of the resource.
Bind to a parent BaseTexture
Parent texture
Call when destroying resource, unbind any BaseTexture object before calling this method, as reference counts are maintained internally.
Destroys this texture
This can be overridden to start preloading a resource or do any other prepare step.
Handle the validate event
Trigger a resize event
X dimension
Y dimension
Set the style, optional to override
true
is success
Unbind to a parent BaseTexture
Parent texture
Checks if source width/height was changed, resize can cause extra baseTexture update. Triggers one update in any case.
Upload the texture to the GPU.
Upload to the renderer
Reference to parent texture
true is success
Set cross origin based detecting the url and the crossorigin
Element to apply crossOrigin
URL to check
Get size from an svg string using regexp.
a serialized svg element
image extension
Used to auto-detect the type of resource.
The source object
The extension of source, if set
Generated using TypeDoc
Resource type for SVG elements and graphics.
PIXI