@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="DOMRectReadOnly")
public class DOMRectReadOnly
extends JsObject
| Constructor and Description |
|---|
DOMRectReadOnly()
The DOMRectReadOnly() constructor creates a new DOMRectReadOnly object.
|
DOMRectReadOnly(double x)
The DOMRectReadOnly() constructor creates a new DOMRectReadOnly object.
|
DOMRectReadOnly(double x,
double y)
The DOMRectReadOnly() constructor creates a new DOMRectReadOnly object.
|
DOMRectReadOnly(double x,
double y,
double width)
The DOMRectReadOnly() constructor creates a new DOMRectReadOnly object.
|
DOMRectReadOnly(double x,
double y,
double width,
double height)
The DOMRectReadOnly() constructor creates a new DOMRectReadOnly object.
|
| Modifier and Type | Method and Description |
|---|---|
double |
bottom()
The bottom read-only property of the DOMRectReadOnly interface returns the bottom coordinate value of the DOMRect.
|
static DOMRectReadOnly |
fromRect()
The fromRect() property of the DOMRectReadOnly interface creates a new DOMRectReadOnly object with a given location and dimensions.
|
static DOMRectReadOnly |
fromRect(DOMRectInit other)
The fromRect() property of the DOMRectReadOnly interface creates a new DOMRectReadOnly object with a given location and dimensions.
|
double |
height()
The height read-only property of the DOMRectReadOnly interface represents the height of the DOMRect.
|
double |
left()
The left read-only property of the DOMRectReadOnly interface returns the left coordinate value of the DOMRect.
|
double |
right()
The right read-only property of the DOMRectReadOnly interface returns the right coordinate value of the DOMRect.
|
JsObject |
toJSON() |
double |
top()
The top read-only property of the DOMRectReadOnly interface returns the top coordinate value of the DOMRect.
|
double |
width()
The width read-only property of the DOMRectReadOnly interface represents the width of the DOMRect.
|
double |
x()
The x read-only property of the DOMRectReadOnly interface represents the x coordinate of the DOMRect's origin.
|
double |
y()
The y read-only property of the DOMRectReadOnly interface represents the y coordinate of the DOMRect's origin.
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, is, isExtensible, isFrozen, isSealed, keys, preventExtensions, seal, setPrototypeOf, valueOf_, valuespublic DOMRectReadOnly(double x,
double y,
double width,
double height)
public DOMRectReadOnly(double x,
double y,
double width)
public DOMRectReadOnly(double x,
double y)
public DOMRectReadOnly(double x)
public DOMRectReadOnly()
@JsProperty(name="bottom") public double bottom()
@JsProperty(name="height") public double height()
@JsProperty(name="left") public double left()
@JsProperty(name="right") public double right()
@JsProperty(name="top") public double top()
@JsProperty(name="width") public double width()
@JsProperty(name="x") public double x()
@JsProperty(name="y") public double y()
@Nonnull public static DOMRectReadOnly fromRect(@Nonnull DOMRectInit other)
@Nonnull public static DOMRectReadOnly fromRect()
@Nonnull public JsObject toJSON()