org.apache.batik.css.engine.value.svg12
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
public class LineHeightValue
- extends FloatValue
This class represents line-height values. These are basically
FloatValues except that it may be 'font-size' relative.
Field Summary |
protected boolean |
fontSizeRelative
True if the line-height is relative to the font-size |
Constructor Summary |
LineHeightValue(short unitType,
float floatValue,
boolean fontSizeRelative)
Creates a new value. |
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 |
fontSizeRelative
protected boolean fontSizeRelative
- True if the line-height is relative to the font-size
LineHeightValue
public LineHeightValue(short unitType,
float floatValue,
boolean fontSizeRelative)
- Creates a new value.
getFontSizeRelative
public boolean getFontSizeRelative()
- The type of the value.
Copyright © 2008 Apache Software Foundation. All Rights Reserved.