Class LengthValue

Direct Known Subclasses:
PercentValue, PointValue

public abstract class LengthValue extends BreadthValue
Abstract class representing length value on a grid.
  • Field Details

    • value

      protected float value
  • Constructor Details

    • LengthValue

      protected LengthValue (TemplateValue.ValueType type, float value)
      Init a breadth value with a given type and value.
      Parameters:
      type - value type
      value - length value
  • Method Details

    • getValue

      public float getValue()
      Gets length value.
      Returns:
      length value