Class SizeObj


  • public final class SizeObj
    extends java.lang.Object
    Author:
    Group 3
    • Constructor Summary

      Constructors 
      Constructor Description
      SizeObj​(java.lang.Double x, java.lang.Double y, java.lang.Double rot)
      Create new object.X and Y are in PX, rot is in degrees.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Double getRot()
      Get Rotation.
      java.lang.Double getX()
      Get X Size.
      java.lang.Double getY()
      Get Y size.
      • Methods inherited from class java.lang.Object

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

      • SizeObj

        public SizeObj​(java.lang.Double x,
                       java.lang.Double y,
                       java.lang.Double rot)
        Create new object.X and Y are in PX, rot is in degrees.
        Parameters:
        x - Size in X.
        y - Size in Y.
        rot - Rotation angle in degrees.
    • Method Detail

      • getX

        public java.lang.Double getX()
        Get X Size.
        Returns:
        Returns X size in PX.
      • getY

        public java.lang.Double getY()
        Get Y size.
        Returns:
        Returns Y size in PX
      • getRot

        public java.lang.Double getRot()
        Get Rotation.
        Returns:
        Returns Rotation in Degrees