@DOMObjectAttribute @DOMNameAttribute(name="Rect") public class Rect extends DOMObject
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.
PropertyChanged, PropertyChangedDelegate
Constructor and Description |
---|
Rect(CSSPrimitiveValue top,
CSSPrimitiveValue right,
CSSPrimitiveValue bottom,
CSSPrimitiveValue left)
Initializes a new instance of the
Rect class. |
Modifier and Type | Method and 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.
|
fireNotifyPropertyChanged, getCurrentValues, getRuntimesBinding, setCurrentValues, setField, setRuntimesBinding
public Rect(CSSPrimitiveValue top, CSSPrimitiveValue right, CSSPrimitiveValue bottom, CSSPrimitiveValue left)
Initializes a new instance of the Rect
class.
top
- The top.right
- The right.bottom
- The bottom.left
- The left.@DOMNameAttribute(name="top") public CSSPrimitiveValue getTop()
This attribute is used for the top of the rect.
@DOMNameAttribute(name="right") public CSSPrimitiveValue getRight()
This attribute is used for the right of the rect.
@DOMNameAttribute(name="bottom") public CSSPrimitiveValue getBottom()
This attribute is used for the bottom of the rect.
@DOMNameAttribute(name="left") public CSSPrimitiveValue getLeft()
This attribute is used for the left of the rect.