SvgMoveTo class
- Inheritance
-
- Object
- SvgCommand
- SvgMoveTo
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]) → SvgMoveTo -
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]) → SvgMoveTo -
Returns a new
T
rotatedangle
radians aroundcenterX
,centerY
.override -
scale(
num scaleX, [num? scaleY]) → SvgMoveTo -
Scales by
scaleX
andscaleY
. scaleY defaults to scaleX if not provided.override -
toString(
) → String -
A string representation of this object.
override
-
translate(
num x, num y) → SvgMoveTo -
Returns a new
T
translated by x and y.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override