on master help sign in
Add more SVG tags
450d0e8Ryan Levick
src/builder.rs+24
@@ -924,6 +924,30 @@ builder_constructors! {
924 /// [`<path>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/path)
924 /// [`<path>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/path)
925 /// element.
925 /// element.
926 path <> "http://www.w3.org/2000/svg";
926 path <> "http://www.w3.org/2000/svg";
927+ /// Build a
928+ /// [`<circle>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/circle)
929+ /// element.
930+ circle <> "http://www.w3.org/2000/svg";
931+ /// Build a
932+ /// [`<ellipse>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/ellipse)
933+ /// element.
934+ ellipse <> "http://www.w3.org/2000/svg";
935+ /// Build a
936+ /// [`<line>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/line)
937+ /// element.
938+ line <> "http://www.w3.org/2000/svg";
939+ /// Build a
940+ /// [`<polygon>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polygon)
941+ /// element.
942+ polygon <> "http://www.w3.org/2000/svg";
943+ /// Build a
944+ /// [`<polyline>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polyline)
945+ /// element.
946+ polyline <> "http://www.w3.org/2000/svg";
947+ /// Build a
948+ /// [`<rect>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/rect)
949+ /// element.
950+ rect <> "http://www.w3.org/2000/svg";
927}
951}
928
952
929/// Construct a text node.
953/// Construct a text node.