Image
Type-safe API for creating an SVGImageElement.
For example, to create a Image from (3, 12) to (21, 12):
Svg {
Image {
href("image.png")
x(10.percent)
y(10.percent)
width(80.percent)
height(80.percent)
}
}
Content copied to clipboard