SvgParser class
Constructors
- SvgParser.new({required XmlDocument xml, PdfColor? colorFilter})
-
Create an SVG parser
factory
Properties
Methods
-
findById(
String id) → XmlElement? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
convertStyle(
XmlElement element) → void - Convert style to attributes
-
getDouble(
XmlElement xml, String name, {String? namespace, double? defaultValue = 0}) → double? -
getNumeric(
XmlElement xml, String name, SvgBrush? brush, {String? namespace, double? defaultValue}) → SvgNumeric? -
splitDoubles(
String parameters) → Iterable< double> -
splitIntegers(
String parameters) → Iterable< int> -
splitNumeric(
String parameters, SvgBrush? brush) → Iterable< SvgNumeric>