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.
  • 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.