DomMatrix constructor

  1. @DomName('DOMMatrix.DOMMatrix')
  2. @DocsEditable()
DomMatrix([DomMatrixReadOnly other ])

Implementation

@DomName('DOMMatrix.DOMMatrix')
@DocsEditable()
factory DomMatrix([DomMatrixReadOnly other]) {
  if (other == null) {
    return DomMatrix._create_1();
  }
  if ((other is DomMatrixReadOnly)) {
    return DomMatrix._create_2(other);
  }
  throw new ArgumentError("Incorrect number or type of arguments");
}