Class LineHeightValue
java.lang.Object
org.apache.batik.css.engine.value.AbstractValue
org.apache.batik.css.engine.value.FloatValue
org.apache.batik.css.engine.value.svg12.LineHeightValue
- All Implemented Interfaces:
Value
This class represents line-height values. These are basically
FloatValues except that it may be 'font-size' relative.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
True if the line-height is relative to the font-sizeFields inherited from class org.apache.batik.css.engine.value.FloatValue
floatValue, UNITS, unitType
-
Constructor Summary
ConstructorsConstructorDescriptionLineHeightValue
(short unitType, float floatValue, boolean fontSizeRelative) Creates a new value. -
Method Summary
Methods inherited from class org.apache.batik.css.engine.value.FloatValue
getCssText, getCssText, getFloatValue, getPrimitiveType, toString
Methods inherited from class org.apache.batik.css.engine.value.AbstractValue
createDOMException, getBlue, getBottom, getCssValueType, getGreen, getIdentifier, getLeft, getLength, getListStyle, getRed, getRight, getSeparator, getStringValue, getTop, item
-
Field Details
-
fontSizeRelative
protected boolean fontSizeRelativeTrue if the line-height is relative to the font-size
-
-
Constructor Details
-
LineHeightValue
public LineHeightValue(short unitType, float floatValue, boolean fontSizeRelative) Creates a new value.
-
-
Method Details
-
getFontSizeRelative
public boolean getFontSizeRelative()The type of the value.
-