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 booleanTrue if the line-height is relative to the font-sizeFields inherited from class FloatValue
floatValue, UNITS, unitType -
Constructor Summary
ConstructorsConstructorDescriptionLineHeightValue(short unitType, float floatValue, boolean fontSizeRelative) Creates a new value. -
Method Summary
Methods inherited from class FloatValue
getCssText, getCssText, getFloatValue, getPrimitiveType, toStringMethods inherited from class 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.
-