Interface Rect

public interface Rect

The Rect interface is used to represent any rect value. This interface reflects the values in the underlying style property. Hence, modifications made to the CSSPrimitiveValue objects modify the style property.

See also the Document Object Model (DOM) Level 2 Style Specification.

Since:
1.4, DOM Level 2

Methods

Modifier and Type Method Description
CSSPrimitiveValue getBottom()

This attribute is used for the bottom of the rect.

CSSPrimitiveValue getLeft()

This attribute is used for the left of the rect.

CSSPrimitiveValue getRight()

This attribute is used for the right of the rect.

CSSPrimitiveValue getTop()

This attribute is used for the top of the rect.

Methods

getTop

CSSPrimitiveValue getTop()

This attribute is used for the top of the rect.

getRight

CSSPrimitiveValue getRight()

This attribute is used for the right of the rect.

getBottom

CSSPrimitiveValue getBottom()

This attribute is used for the bottom of the rect.

getLeft

CSSPrimitiveValue getLeft()

This attribute is used for the left of the rect.

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/jdk.xml.dom/org/w3c/dom/css/Rect.html