@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="DOMRect")
public class DOMRect
extends DOMRectReadOnly
| Modifier and Type | Field and Description |
|---|---|
double |
height |
double |
width |
double |
x |
double |
y |
| Constructor and Description |
|---|
DOMRect()
The DOMRect() constructor creates a new DOMRect object.
|
DOMRect(double x)
The DOMRect() constructor creates a new DOMRect object.
|
DOMRect(double x,
double y)
The DOMRect() constructor creates a new DOMRect object.
|
DOMRect(double x,
double y,
double width)
The DOMRect() constructor creates a new DOMRect object.
|
DOMRect(double x,
double y,
double width,
double height)
The DOMRect() constructor creates a new DOMRect object.
|
| Modifier and Type | Method and Description |
|---|---|
static @JsNonNull DOMRect |
fromRect() |
static @JsNonNull DOMRect |
fromRect(DOMRectInit other) |
bottom, height, left, right, toJSON, top, width, x, yassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic double height
public double width
public double x
public double y
public DOMRect(double x,
double y,
double width,
double height)
public DOMRect(double x,
double y,
double width)
public DOMRect(double x,
double y)
public DOMRect(double x)
public DOMRect()
public static @JsNonNull DOMRect fromRect(@Nonnull DOMRectInit other)
public static @JsNonNull DOMRect fromRect()