Translation constructor
- @DomName('Translation.Translation')
- @DocsEditable()
Implementation
@DomName('Translation.Translation')
@DocsEditable()
factory Translation(LengthValue x, LengthValue y, [LengthValue z]) {
if ((y is LengthValue) && (x is LengthValue) && z == null) {
return Translation._create_1(x, y);
}
if ((z is LengthValue) && (y is LengthValue) && (x is LengthValue)) {
return Translation._create_2(x, y, z);
}
throw new ArgumentError("Incorrect number or type of arguments");
}