SvgParser class

Constructors

SvgParser({required XmlDocument xml, PdfColor? colorFilter})
Create an SVG parser
factory

Properties

colorFilter → PdfColor?
final
hashCode → int
The hash code for this object.
no setterinherited
height → double?
final
root → XmlElement
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
viewBox → PdfRect
final
width → double?
final

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>