DomPoint([point_OR_x, num y, num z, num w])

Source

@DomName('DOMPoint.DOMPoint')
@DocsEditable()
factory DomPoint([point_OR_x, num y, num z, num w]) {
  if ((point_OR_x is Map || point_OR_x == null) && y == null && z == null && w == null) {
    var point_1 = convertDartToNative_Dictionary(point_OR_x);
    return _blink.BlinkDOMPoint.instance.constructorCallback_1_(point_1);
  }
  if (point_OR_x == null && y == null && z == null && w == null) {
    return _blink.BlinkDOMPoint.instance.constructorCallback_0_();
  }
  if ((point_OR_x is num || point_OR_x == null) && y == null && z == null && w == null) {
    return _blink.BlinkDOMPoint.instance.constructorCallback_1_(point_OR_x);
  }
  if ((y is num || y == null) && (point_OR_x is num || point_OR_x == null) && z == null && w == null) {
    return _blink.BlinkDOMPoint.instance.constructorCallback_2_(point_OR_x, y);
  }
  if ((z is num || z == null) && (y is num || y == null) && (point_OR_x is num || point_OR_x == null) && w == null) {
    return _blink.BlinkDOMPoint.instance.constructorCallback_3_(point_OR_x, y, z);
  }
  if ((w is num || w == null) && (z is num || z == null) && (y is num || y == null) && (point_OR_x is num || point_OR_x == null)) {
    return _blink.BlinkDOMPoint.instance.constructorCallback_4_(point_OR_x, y, z, w);
  }
  throw new ArgumentError("Incorrect number or type of arguments");
}