Class 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 $
  • Field Details

    • fontSizeRelative

      protected boolean fontSizeRelative
      True 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.