SvgCommand class sealed
Normalised SVG Commands That is limited to what dart:ui supports, and all coordinates are absolute.
- Implemented types
- Implementers
- Annotations
-
- @immutable
Constructors
- SvgCommand()
-
const
Properties
Methods
-
mirror(
Axis axis, [double centerX = 0.0, double centerY = 0.0]) → SvgCommand -
Mirrors this over vertical or horizontal line that goes though
centerX
,centerY
.inherited -
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]) → SvgCommand -
Returns a new
T
rotatedangle
radians aroundcenterX
,centerY
.inherited -
scale(
num scaleX, [num? scaleY]) → SvgCommand -
Scales by
scaleX
andscaleY
. scaleY defaults to scaleX if not provided.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
translate(
num x, num y) → SvgCommand -
Returns a new
T
translated by x and y.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited