Skip to content

Documentation / @ripl/svg / SVGImage

Class: SVGImage ​

Defined in: svg/src/image.ts:7

SVG-specific image element wrapping a CanvasImageSource as an SVG <image> tag.

Implements ​

Constructors ​

Constructor ​

new SVGImage(id, href, x, y, width, height): SVGImage

Defined in: svg/src/image.ts:14

Parameters ​

ParameterType
idstring
hrefstring
xnumber
ynumber
widthnumber
heightnumber

Returns ​

SVGImage

Properties ​

PropertyModifierTypeDescriptionDefined in
definitionpublicSVGContextElementDefinitionThe rendering definition describing this image's SVG <image> node.svg/src/image.ts:12
idreadonlystringUnique identifier for this element.svg/src/image.ts:10