Polygon
Type-safe API for creating an SVGPolygonElement.
For example, to create a Polygon from points (3, 12), (9,19), (21, 2):
Svg {
Polygon {
points(3 to 12, 9 to 19, 21 to 2)
}
}
Content copied to clipboard
Type-safe API for creating an SVGPolygonElement.
For example, to create a Polygon from points (3, 12), (9,19), (21, 2):
Svg {
Polygon {
points(3 to 12, 9 to 19, 21 to 2)
}
}