Class AreaContext

    • Constructor Detail

      • AreaContext

        public AreaContext()
        Creates a new AreaContext.
    • Method Detail

      • getHeight

        public int getHeight()
        Description copied from interface: IAreaContext
        Gets the height.
        Specified by:
        getHeight in interface IAreaContext
        Returns:
        the area's height
      • getWidth

        public int getWidth()
        Description copied from interface: IAreaContext
        Gets the width.
        Specified by:
        getWidth in interface IAreaContext
        Returns:
        the area's width
      • setHeight

        public void setHeight​(int height)
        Sets the height.
        Parameters:
        height - The height to set.
      • setSize

        public void setSize​(int width,
                            int height)
        Sets the size.
        Parameters:
        width - the width
        height - the height
      • setWidth

        public void setWidth​(int width)
        Sets the width.
        Parameters:
        width - The width to set.