W3cubDocs

/Dart 2

Transform class

Annotations
  • @Unstable()
  • @Native("SVGTransform")

Properties

anglenum
final
matrixMatrix
final
typeint
final
hashCodeint
read-only, inherited
The hash code for this object. [...]
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.

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
inherited
Invoked when a non-existent method or property is accessed. [...]
toString() → String
inherited
Returns a string representation of this object.

Operators

operator ==(dynamic other) → bool
inherited
The equality operator. [...]

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

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-svg/Transform-class.html