Class ShapeImpl

  • All Implemented Interfaces:
    Shape, java.io.Serializable
    Direct Known Subclasses:
    BBoxImpl, ImageImpl

    public class ShapeImpl
    extends java.lang.Object
    implements java.io.Serializable, Shape
    The type Shape.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ShapeImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getAngle()
      Gets the angle.
      double getAngleRefX()
      Gets the angle ref X.
      double getAngleRefY()
      Gets the angle ref Y.
      double getScaleX()
      Gets the scale X.
      double getScaleY()
      Gets the scale Y.
      double getSkew()
      Gets the skew.
      double getSkewRefX()
      Gets the skew ref X.
      double getSkewRefY()
      Gets the skew ref Y.
      void setAngle​(double angle)
      Sets the angle.
      void setAngleRefX​(double angleRefX)
      Sets the angle ref X.
      void setAngleRefY​(double angleRefY)
      Sets the angle ref Y.
      void setScaleX​(double scaleX)
      Sets the scale X.
      void setScaleY​(double scaleY)
      Sets the scale Y.
      void setSkew​(double skew)
      Sets the skew.
      void setSkewRefX​(double skewRefX)
      Sets the skew ref X.
      void setSkewRefY​(double skewRefY)
      Sets the skew ref Y.
      • Methods inherited from class java.lang.Object

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

      • ShapeImpl

        public ShapeImpl()
    • Method Detail

      • getScaleX

        public double getScaleX()
        Description copied from interface: Shape
        Gets the scale X.
        Specified by:
        getScaleX in interface Shape
        Returns:
        the scale X
      • setScaleX

        public void setScaleX​(double scaleX)
        Description copied from interface: Shape
        Sets the scale X.
        Specified by:
        setScaleX in interface Shape
        Parameters:
        scaleX - the new scale X
      • getScaleY

        public double getScaleY()
        Description copied from interface: Shape
        Gets the scale Y.
        Specified by:
        getScaleY in interface Shape
        Returns:
        the scale Y
      • setScaleY

        public void setScaleY​(double scaleY)
        Description copied from interface: Shape
        Sets the scale Y.
        Specified by:
        setScaleY in interface Shape
        Parameters:
        scaleY - the new scale Y
      • getAngle

        public double getAngle()
        Description copied from interface: Shape
        Gets the angle.
        Specified by:
        getAngle in interface Shape
        Returns:
        the angle
      • setAngle

        public void setAngle​(double angle)
        Description copied from interface: Shape
        Sets the angle.
        Specified by:
        setAngle in interface Shape
        Parameters:
        angle - the new angle
      • getAngleRefX

        public double getAngleRefX()
        Description copied from interface: Shape
        Gets the angle ref X.
        Specified by:
        getAngleRefX in interface Shape
        Returns:
        the angle ref X
      • setAngleRefX

        public void setAngleRefX​(double angleRefX)
        Description copied from interface: Shape
        Sets the angle ref X.
        Specified by:
        setAngleRefX in interface Shape
        Parameters:
        angleRefX - the new angle ref X
      • getAngleRefY

        public double getAngleRefY()
        Description copied from interface: Shape
        Gets the angle ref Y.
        Specified by:
        getAngleRefY in interface Shape
        Returns:
        the angle ref Y
      • setAngleRefY

        public void setAngleRefY​(double angleRefY)
        Description copied from interface: Shape
        Sets the angle ref Y.
        Specified by:
        setAngleRefY in interface Shape
        Parameters:
        angleRefY - the new angle ref Y
      • getSkew

        public double getSkew()
        Description copied from interface: Shape
        Gets the skew.
        Specified by:
        getSkew in interface Shape
        Returns:
        the skew
      • setSkew

        public void setSkew​(double skew)
        Description copied from interface: Shape
        Sets the skew.
        Specified by:
        setSkew in interface Shape
        Parameters:
        skew - the new skew
      • getSkewRefX

        public double getSkewRefX()
        Description copied from interface: Shape
        Gets the skew ref X.
        Specified by:
        getSkewRefX in interface Shape
        Returns:
        the skew ref X
      • setSkewRefX

        public void setSkewRefX​(double skewRefX)
        Description copied from interface: Shape
        Sets the skew ref X.
        Specified by:
        setSkewRefX in interface Shape
        Parameters:
        skewRefX - the new skew ref X
      • getSkewRefY

        public double getSkewRefY()
        Description copied from interface: Shape
        Gets the skew ref Y.
        Specified by:
        getSkewRefY in interface Shape
        Returns:
        the skew ref Y
      • setSkewRefY

        public void setSkewRefY​(double skewRefY)
        Description copied from interface: Shape
        Sets the skew ref Y.
        Specified by:
        setSkewRefY in interface Shape
        Parameters:
        skewRefY - the new skew ref Y