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.
- Version:
- $Id: LineHeightValue.java 1733416 2016-03-03 07:07:13Z gadams $
- Author:
- Stephane Hillion
|
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 © 2000–2017 Apache Software Foundation. All rights reserved.