Class CSS20Attribute.CSSStretchValue
java.lang.Object
com.adobe.fontengine.inlineformatting.css20.CSS20Attribute.CSSStretchValue
- All Implemented Interfaces:
Serializable
- Enclosing class:
CSS20Attribute
This class provides an enumeration of the possible values for the CSS Stretch attribute.
Concurrency
Instances of this class are immutable after construction and contain no mutable static data. Therefore, they are threadsafe.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CSS20Attribute.CSSStretchValue
static final CSS20Attribute.CSSStretchValue
static final CSS20Attribute.CSSStretchValue
static final CSS20Attribute.CSSStretchValue
static final CSS20Attribute.CSSStretchValue
static final CSS20Attribute.CSSStretchValue
static final CSS20Attribute.CSSStretchValue
static final CSS20Attribute.CSSStretchValue
static final CSS20Attribute.CSSStretchValue
-
Method Summary
Modifier and TypeMethodDescriptiongetStretchValue
(int value) Parse the text and return the CSSStretchValue object which is represented if any.toString()
-
Field Details
-
ULTRACONDENSED
-
EXTRACONDENSED
-
CONDENSED
-
SEMICONDENSED
-
NORMAL
-
SEMIEXPANDED
-
EXPANDED
-
EXTRAEXPANDED
-
ULTRAEXPANDED
-
-
Method Details
-
parse
Parse the text and return the CSSStretchValue object which is represented if any.- Parameters:
text
- textual representation of the stretch- Returns:
- CSSStretchValue represented by the text value
-
getStretchValue
- Parameters:
value
- the value of the stretch object to return- Returns:
- CSSStretchValue object with the stretch specified or
null
if none exists
-
toString
-