substitute abstract method

Color substitute(
  1. String? id,
  2. String elementName,
  3. String attributeName,
  4. Color color,
)

Returns a new color to use in place of color during SVG parsing.

The SVG parser will call this method every time it parses a color

Implementation

Color substitute(
  String? id,
  String elementName,
  String attributeName,
  Color color,
);