SvgColor class abstract SVG DOM

Color as SVG knows it, plus alpha in the high-order byte (in case we encounter an SVG file with an (invalid) eight-character hex value).

Implementers

Constructors

SvgColor()
const
SvgColor.value(int value)
Create a normal, explicit color from an 0xaarrggbb value.
factory

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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

reference(String id) SvgColor
Create a reference to a gradient

Constants

currentColor → const SvgColor
The "currentColor" color, which means "paint with the color given to the ScalableImage's parent".
inherit → const SvgColor
The "inherit" color, which means "inherit from parent"
none → const SvgColor
The "none" color, which means "do not paint"
transparent → const SvgColor
white → const SvgColor