DomPointReadOnly constructor
Implementation
factory DomPointReadOnly([num x, num y, num z, num w]) {
if (w != null) {
return DomPointReadOnly._create_1(x, y, z, w);
}
if (z != null) {
return DomPointReadOnly._create_2(x, y, z);
}
if (y != null) {
return DomPointReadOnly._create_3(x, y);
}
if (x != null) {
return DomPointReadOnly._create_4(x);
}
return DomPointReadOnly._create_5();
}