SVGImageElement

Overview

The SVGImageElement interface corresponds to the <image> element.

Location

 

crossOrigin

 

property crossOrigin: String read write;

 

String crossOrigin { get; set; }

 

var crossOrigin: String { get{} set{} }

 

String crossOrigin { __get; __set; }

 

Property crossOrigin() As String

dataset    (declared in SVGElement)

 

property dataset: String read;

 

String dataset { get; }

 

var dataset: String { get{} }

 

String dataset { __get; }

 

ReadOnly Property dataset() As String

decode

Initiates asynchronous decoding of the image data. Returns a Promise which resolves once the image data is ready to be used.

 

method decode: dynamic

 

dynamic decode()

 

func decode() -> dynamic

 

dynamic decode()

 

Function decode() As dynamic

decoding

 

property decoding: String read write;

 

String decoding { get; set; }

 

var decoding: String { get{} set{} }

 

String decoding { __get; __set; }

 

Property decoding() As String

getBBox    (declared in SVGGraphicsElement)

Returns a DOMRect representing the computed bounding box of the current element.

 

method getBBox: SVGRect

 

SVGRect getBBox()

 

func getBBox() -> SVGRect

 

SVGRect getBBox()

 

Function getBBox() As SVGRect

height

 

property height: Int32 read;

 

Int32 height { get; }

 

var height: Int32 { get{} }

 

Int32 height { __get; }

 

ReadOnly Property height() As Int32

ownerSVGElement    (declared in SVGElement)

 

property ownerSVGElement: Element read;

 

Element ownerSVGElement { get; }

 

var ownerSVGElement: Element { get{} }

 

Element ownerSVGElement { __get; }

 

ReadOnly Property ownerSVGElement() As Element

preserveAspectRatio

 

property preserveAspectRatio: dynamic read;

 

dynamic preserveAspectRatio { get; }

 

var preserveAspectRatio: dynamic { get{} }

 

dynamic preserveAspectRatio { __get; }

 

ReadOnly Property preserveAspectRatio() As dynamic

viewportElement    (declared in SVGElement)

 

property viewportElement: Element read;

 

Element viewportElement { get; }

 

var viewportElement: Element { get{} }

 

Element viewportElement { __get; }

 

ReadOnly Property viewportElement() As Element

width

 

property width: Int32 read;

 

Int32 width { get; }

 

var width: Int32 { get{} }

 

Int32 width { __get; }

 

ReadOnly Property width() As Int32

x

 

property x: Double read;

 

Double x { get; }

 

var x: Double { get{} }

 

Double x { __get; }

 

ReadOnly Property x() As Double

y

 

property y: Double read;

 

Double y { get; }

 

var y: Double { get{} }

 

Double y { __get; }

 

ReadOnly Property y() As Double

 

crossOrigin

 

property crossOrigin: String read write;

 

String crossOrigin { get; set; }

 

var crossOrigin: String { get{} set{} }

 

String crossOrigin { __get; __set; }

 

Property crossOrigin() As String

dataset    (declared in SVGElement)

 

property dataset: String read;

 

String dataset { get; }

 

var dataset: String { get{} }

 

String dataset { __get; }

 

ReadOnly Property dataset() As String

decoding

 

property decoding: String read write;

 

String decoding { get; set; }

 

var decoding: String { get{} set{} }

 

String decoding { __get; __set; }

 

Property decoding() As String

height

 

property height: Int32 read;

 

Int32 height { get; }

 

var height: Int32 { get{} }

 

Int32 height { __get; }

 

ReadOnly Property height() As Int32

ownerSVGElement    (declared in SVGElement)

 

property ownerSVGElement: Element read;

 

Element ownerSVGElement { get; }

 

var ownerSVGElement: Element { get{} }

 

Element ownerSVGElement { __get; }

 

ReadOnly Property ownerSVGElement() As Element

preserveAspectRatio

 

property preserveAspectRatio: dynamic read;

 

dynamic preserveAspectRatio { get; }

 

var preserveAspectRatio: dynamic { get{} }

 

dynamic preserveAspectRatio { __get; }

 

ReadOnly Property preserveAspectRatio() As dynamic

viewportElement    (declared in SVGElement)

 

property viewportElement: Element read;

 

Element viewportElement { get; }

 

var viewportElement: Element { get{} }

 

Element viewportElement { __get; }

 

ReadOnly Property viewportElement() As Element

width

 

property width: Int32 read;

 

Int32 width { get; }

 

var width: Int32 { get{} }

 

Int32 width { __get; }

 

ReadOnly Property width() As Int32

x

 

property x: Double read;

 

Double x { get; }

 

var x: Double { get{} }

 

Double x { __get; }

 

ReadOnly Property x() As Double

y

 

property y: Double read;

 

Double y { get; }

 

var y: Double { get{} }

 

Double y { __get; }

 

ReadOnly Property y() As Double

 

decode

Initiates asynchronous decoding of the image data. Returns a Promise which resolves once the image data is ready to be used.

 

method decode: dynamic

 

dynamic decode()

 

func decode() -> dynamic

 

dynamic decode()

 

Function decode() As dynamic

getBBox    (declared in SVGGraphicsElement)

Returns a DOMRect representing the computed bounding box of the current element.

 

method getBBox: SVGRect

 

SVGRect getBBox()

 

func getBBox() -> SVGRect

 

SVGRect getBBox()

 

Function getBBox() As SVGRect