Documentation / @ripl/svg / SVGImage
Class: SVGImage
Defined in: svg/src/index.ts:459
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:466
Parameters
| Parameter | Type |
|---|---|
id | string |
href | string |
x | number |
y | number |
width | number |
height | number |
Returns
SVGImage
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
definition | public | SVGContextElementDefinition | The rendering definition describing this image's SVG <image> node. | svg/src/index.ts:464 |
id | readonly | string | Unique identifier for this element. | svg/src/index.ts:462 |