On this page
Rotation factory constructor
Rotation(Source
@DomName('Rotation.Rotation')
@DocsEditable()
factory Rotation(num angle, [num x, num y, num z]) {
if ((angle is num) && x == null && y == null && z == null) {
return _blink.BlinkRotation.instance.constructorCallback_1_(angle);
}
if ((z is num) && (y is num) && (x is num) && (angle is num)) {
return _blink.BlinkRotation.instance
.constructorCallback_4_(angle, x, y, z);
}
throw new ArgumentError("Incorrect number or type of arguments");
}
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Rotation/Rotation.html