SvgLineTo class

Inheritance

Constructors

SvgLineTo(double x, double y)
const

Properties

end → (double, double)
Returns the coordinates of the end of this command. e.g LineTo(10, 20).end = (10, 20)
no setteroverride
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
final
y double
final

Methods

mirror(Axis axis, [double centerX = 0.0, double centerY = 0.0]) SvgLineTo
Mirrors this over vertical or horizontal line that goes though centerX,centerY.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rotate(double angle, [double centerX = 0.0, double centerY = 0.0]) SvgLineTo
Returns a new T rotated angle radians around centerX,centerY.
override
scale(num scaleX, [num? scaleY]) SvgLineTo
Scales by scaleX and scaleY. scaleY defaults to scaleX if not provided.
override
toString() String
A string representation of this object.
override
translate(num x, num y) SvgLineTo
Returns a new T translated by x and y.
override

Operators

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