Package 

Class Size


  • 
    public class Size
    
                        

    Defines physical dimensions & scaling characteristics

    • Constructor Detail

      • Size

        Size(float height, SizeMode heightLayoutType, float width, SizeMode widthLayoutType)
        Convenience constructor.
        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.