Package 

Class ComponentSize


  • 
    public final class ComponentSize
    
                        

    Represents the size of a component.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Dp width
      private final Dp height
    • Constructor Summary

      Constructors 
      Constructor Description
      ComponentSize(Dp width, Dp height)
    • Method Summary

      Modifier and Type Method Description
      final Dp getWidth()
      final Dp getHeight()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ComponentSize

        ComponentSize(Dp width, Dp height)
        Parameters:
        width - The width of the component.
        height - The height of the component.