Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / Rectangle Class / Rectangle Constructor
The x-coordinate of the upper-left corner of the rectangle.
The y-coordinate of the upper-left corner of the rectangle.
The width of the rectangle.
The height of the rectangle.
In This Topic
    Rectangle Constructor
    In This Topic
    Constructor that creates a rectangle object with the specified position and size.
    Syntax
    public Rectangle( 
       double x,
       double y,
       double width,
       double height
    )

    Parameters

    x
    The x-coordinate of the upper-left corner of the rectangle.
    y
    The y-coordinate of the upper-left corner of the rectangle.
    width
    The width of the rectangle.
    height
    The height of the rectangle.
    See Also