vel.toGeometryShape()
Convert the SVGElement to an equivalent geometric shape. The element's transformations are not taken into account.
SVGElement | Shape |
---|---|
SVGRectElement | g.Rect |
SVGLineElement | g.Line |
SVGCircleElement | g.Ellipse |
SVGEllipseElement | g.Ellipse |
SVGPolygonElement | g.Polyline |
SVGPolylineElement | g.Polyline |
SVGPathElement | g.Path |
others | g.Rect |