ColorMapper class abstract
A class that transforms from one color to another during SVG parsing.
This object must be immutable so that it is suitable for use in the
svg.cache
.
- Annotations
Constructors
- ColorMapper()
-
Allows const constructors on subclasses.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
substitute(
String? id, String elementName, String attributeName, Color color) → Color -
Returns a new color to use in place of
color
during SVG parsing. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited