Packages

 

com.groupdocs.comparison.common.changes

Class Rectangle

  • java.lang.Object
    • com.aspose.ms.System.ValueType<T>
      • com.aspose.ms.lang.Struct<Rectangle>
        • com.groupdocs.comparison.common.changes.Rectangle


  • public class Rectangle
    extends com.aspose.ms.lang.Struct<Rectangle>
    • Constructor Detail

      • Rectangle

        public Rectangle()
        Instantiates a new Rectangle.
      • Rectangle

        public Rectangle(float x,
                 float y,
                 float width,
                 float height)

        Creates a new instance of Rectangle

        Parameters:
        x - X position of rectangle
        y - Y position of Rectangle
        width - Width of Rectangle
        height - Height of Rectangle
    • Method Detail

      • getX

        public float getX()

        Gets or Sets X position of rectangle

        Returns:
        the float
      • setX

        public void setX(float value)

        Gets or Sets X position of rectangle

        Parameters:
        value - the value
      • getY

        public float getY()

        Gets or Sets Y position of rectangle

        Returns:
        the float
      • setY

        public void setY(float value)

        Gets or Sets Y position of rectangle

        Parameters:
        value - the value
      • getWidth

        public float getWidth()

        Gets or Sets Width of rectangle

        Returns:
        the float
      • setWidth

        public void setWidth(float value)

        Gets or Sets Width of rectangle

        Parameters:
        value - the value
      • getHeight

        public float getHeight()

        Gets or Sets Height of rectangle

        Returns:
        the float
      • setHeight

        public void setHeight(float value)

        Gets or Sets Height of rectangle

        Parameters:
        value - the value
      • CloneTo

        public void CloneTo(Rectangle that)
        Specified by:
        CloneTo in class com.aspose.ms.System.ValueType<Rectangle>
      • Clone

        public Rectangle Clone()
        Specified by:
        Clone in class com.aspose.ms.System.ValueType<Rectangle>
      • equals

        public static boolean equals(Rectangle obj1,
                     Rectangle obj2)
        Equals boolean.
        Parameters:
        obj1 - the obj 1
        obj2 - the obj 2
        Returns:
        the boolean