Class Area

  • All Implemented Interfaces:
    Dimensions

    public class Area
    extends java.lang.Object
    implements Dimensions
    Author:
    Bert Frees
    • Constructor Summary

      Constructors 
      Constructor Description
      Area​(double width, double height, double offsetX, double offsetY)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getHeight()
      Gets height, in mm.
      double getOffsetX()  
      double getOffsetY()  
      double getWidth()
      Gets width, in mm.
      • Methods inherited from class java.lang.Object

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

      • Area

        public Area​(double width,
                    double height,
                    double offsetX,
                    double offsetY)
    • Method Detail

      • getWidth

        public double getWidth()
        Description copied from interface: Dimensions
        Gets width, in mm.
        Specified by:
        getWidth in interface Dimensions
        Returns:
        returns width in mm.
      • getHeight

        public double getHeight()
        Description copied from interface: Dimensions
        Gets height, in mm.
        Specified by:
        getHeight in interface Dimensions
        Returns:
        returns height in mm.
      • getOffsetX

        public double getOffsetX()
      • getOffsetY

        public double getOffsetY()