org.apache.batik.css.engine.value.svg12

Class LineHeightValue

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 booleanfontSizeRelative
True if the line-height is relative to the font-size
Constructor Summary
LineHeightValue(short unitType, float floatValue, boolean fontSizeRelative)
Creates a new value.
Method Summary
booleangetFontSizeRelative()
The type of the value.

Field Detail

fontSizeRelative

protected boolean fontSizeRelative
True if the line-height is relative to the font-size

Constructor Detail

LineHeightValue

public LineHeightValue(short unitType, float floatValue, boolean fontSizeRelative)
Creates a new value.

Method Detail

getFontSizeRelative

public boolean getFontSizeRelative()
The type of the value.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.