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