Dart
dart:svg
Transform class
description
Transform class
Annotations
@Unstable()
@Native("SVGTransform")
Properties
angle
→
num
final
matrix
→
Matrix
final
type
→
int
final
hashCode
→
int
The hash code for this object.
[...]
read-only, inherited
runtimeType
→
Type
A representation of the runtime type of the object.
read-only, inherited
Methods
setMatrix
(
Matrix
matrix
)
→ void
setRotate
(
num
angle
,
num
cx
,
num
cy
)
→ void
setScale
(
num
sx
,
num
sy
)
→ void
setSkewX
(
num
angle
)
→ void
setSkewY
(
num
angle
)
→ void
setTranslate
(
num
tx
,
num
ty
)
→ void
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a non-existent method or property is accessed.
[...]
inherited
toString
(
)
→
String
Returns a string representation of this object.
inherited
Operators
operator ==
(
dynamic
other
)
→
bool
The equality operator.
[...]
inherited
Constants
SVG_TRANSFORM_MATRIX
→ const
int
1
SVG_TRANSFORM_ROTATE
→ const
int
4
SVG_TRANSFORM_SCALE
→ const
int
3
SVG_TRANSFORM_SKEWX
→ const
int
5
SVG_TRANSFORM_SKEWY
→ const
int
6
SVG_TRANSFORM_TRANSLATE
→ const
int
2
SVG_TRANSFORM_UNKNOWN
→ const
int
0