com.groupdocs.annotation.domain

Class Rectangle

  • java.lang.Object
    • com.aspose.ms.System.ValueType<T>
      • com.aspose.ms.lang.Struct<Rectangle>
        • com.groupdocs.annotation.domain.Rectangle


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

    Class Rectangle.

    • Constructor Detail

      • Rectangle

        public Rectangle()
      • Rectangle

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

        Initializes a new instance of the Rectangle struct.

        Parameters:
        x - The x.
        y - The y.
        width - The width.
        height - The height.
      • Rectangle

        public Rectangle(double x,
                 double y,
                 double width,
                 double height)
    • Method Detail

      • getX

        public float getX()

        Gets or sets the x.

        Value: The x.
      • setX

        public void setX(float value)

        Gets or sets the x.

        Value: The x.
      • getY

        public float getY()

        Gets or sets the y.

        Value: The y.
      • setY

        public void setY(float value)

        Gets or sets the y.

        Value: The y.
      • getWidth

        public float getWidth()

        Gets or sets the width.

        Value: The width.
      • setWidth

        public void setWidth(float value)

        Gets or sets the width.

        Value: The width.
      • getHeight

        public float getHeight()

        Gets or sets the height.

        Value: The height.
      • setHeight

        public void setHeight(float value)

        Gets or sets the height.

        Value: The height.
      • 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>