Class SvgPathReader
- java.lang.Object
-
- com.inductiveautomation.ignition.client.icons.SvgPathReader
-
public class SvgPathReader extends java.lang.Object
Parses an svg path using the "d" attribute format. https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/d into an object that can create a Java2DPath2D
shape.Note that this reader is not thread safe.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SvgPath
parse(java.lang.String source)
-
-
-
Method Detail
-
parse
public SvgPath parse(java.lang.String source) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-