Skip to content

Documentation / @ripl/svg / SVGImage

Class: SVGImage ​

Defined in: svg/src/index.ts:401

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/index.ts:406

Parameters ​

ParameterType
idstring
hrefstring
xnumber
ynumber
widthnumber
heightnumber

Returns ​

SVGImage

Properties ​

PropertyModifierTypeDefined in
definitionpublicSVGContextElementDefinitionsvg/src/index.ts:404
idreadonlystringsvg/src/index.ts:403