java.lang.Object
io.sf.carte.echosvg.css.engine.value.AbstractValue
io.sf.carte.echosvg.css.engine.value.RectValue
- All Implemented Interfaces:
Value
This class represents CSS rect values.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionImplementsValue.getBottom()
.A string representation of the current value.getLeft()
ImplementsValue.getLeft()
.short
The type of the value.getRight()
ImplementsValue.getRight()
.getTop()
ImplementsValue.getTop()
.toString()
Returns a printable representation of this value.Methods inherited from class io.sf.carte.echosvg.css.engine.value.AbstractValue
createDOMException, getAlpha, getBlue, getCssValueType, getFloatValue, getGreen, getIdentifier, getLength, getListStyle, getRed, getSeparator, getStringValue, item
-
Field Details
-
top
The top value. -
right
The right value. -
bottom
The bottom value. -
left
The left value.
-
-
Constructor Details
-
RectValue
Creates a new Rect value.
-
-
Method Details
-
getPrimitiveType
public short getPrimitiveType()The type of the value.- Specified by:
getPrimitiveType
in interfaceValue
- Overrides:
getPrimitiveType
in classAbstractValue
-
getCssText
A string representation of the current value. -
getTop
ImplementsValue.getTop()
.- Specified by:
getTop
in interfaceValue
- Overrides:
getTop
in classAbstractValue
- Throws:
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getRight
ImplementsValue.getRight()
.- Specified by:
getRight
in interfaceValue
- Overrides:
getRight
in classAbstractValue
- Throws:
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getBottom
ImplementsValue.getBottom()
.- Specified by:
getBottom
in interfaceValue
- Overrides:
getBottom
in classAbstractValue
- Throws:
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
getLeft
ImplementsValue.getLeft()
.- Specified by:
getLeft
in interfaceValue
- Overrides:
getLeft
in classAbstractValue
- Throws:
DOMException
- INVALID_ACCESS_ERR: Raised if the value doesn't contain a Rect value.
-
toString
Returns a printable representation of this value.
-