Base64 encoded SVG element or URL for SVG file.
Optional
options: ISVGResourceOptionsOptions to use
Readonly
_overrideA height override for rasterization on load.
Readonly
_overrideA width override for rasterization on load.
Readonly
destroyedIf resource has been destroyed.
true
if resource is created by BaseTexture
useful for doing cleanup with BaseTexture destroy
and not cleaning up resources that were created
externally.
Readonly
scaleThe source scale to apply when rasterizing on load.
Readonly
sourceThe source element.
The url of the resource
Readonly
svgBase64 encoded SVG element or URL for SVG file.
Static
Readonly
SVG_Regular expression for SVG size.
Static
Readonly
SVG_Regular expression for SVG XML document.
The height of the resource.
Has been validated
The width of the resource.
Bind to a parent BaseTexture
Parent texture
Set the style, optional to override
yeah, renderer!
the texture
texture instance for this webgl context
true
is successUnbind to a parent BaseTexture
Parent texture
Upload the texture to the GPU.
Upload to the renderer
Reference to parent texture
Optional
source: ImageSource(optional)
Static
crossSet cross origin based detecting the url and the crossorigin
Element to apply crossOrigin
URL to check
Optional
crossorigin: string | booleanCross origin value to use
Static
getStatic
test
Resource type for SVG elements and graphics.
Memberof
PIXI