@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 DOMRect |
fromRect() |
static DOMRect |
fromRect(DOMRectInit other) |
public 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()
@Nonnull public static DOMRect fromRect(@Nonnull DOMRectInit other)
@Nonnull public static DOMRect fromRect()