SvgCoordinate class SVG DOM

A coordinate in a gradient color. A coordinate can be a pixel value or a percentage.

Constructors

SvgCoordinate.percent(double _value)
Create a percentage coordinage, where an argument of 50 will represent 50%, etc.
SvgCoordinate.value(double _value)
Create a value coordinate.

Properties

hashCode int
The hash code for this object.
no setterinherited
isPercent bool
Is this a percentage coordinate?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value double
The value of this coordinate, or for a percentage, a number representing the percentage (0.5 for 50%, etc.)
no setter

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