Class Size

  • All Implemented Interfaces:

    
    public class Size
    
                        

    Defines physical dimensions &scaling characteristics

    • Constructor Detail

      • Size

        Size(float height, SizeMode heightLayoutType, float width, SizeMode widthLayoutType)

        Convenience constructor. Wraps Size.

        Parameters:
        height - Height value used algorithm to calculate the height of the associated widget(s).
        heightLayoutType - Algorithm used to calculate the height of the associated widget(s).
        width - Width value used algorithm to calculate the width of the associated widget(s).
        widthLayoutType - Algorithm used to calculate the width of the associated widget(s).
      • Size

        Size(SizeMetric height, SizeMetric width)

        Creates a new SizeMetrics instance using the specified size layout algorithm and value. See SizeMetric for details on what can be passed in.