ImageGearJava Project > com.accusoft.imagegear.core.shapes Package : ImGearDoubleRectangle Class |
For a list of all members of this type, see ImGearDoubleRectangle members.
Name | Description | |
---|---|---|
![]() | copyFrom | This method copies rectangle from IImGearDoubleRectangle interface. |
![]() | empty | Sets all numeric properties of the rectangle to their initial values. |
![]() | getBottom | Gets the y-coordinate of the lower-right corner of the rectangle.
|
![]() | getHeight | Gets the height of the rectangle.
Note: The Height and Width properties assume that the rectangle is being used with the endpoint-inclusive semantics. Using endpoint-inclusive semantics, a rectangle with left, top, right, and bottom coordinates all equal to 0 is one pixel wide and one pixel tall. So, for example, the getWidth() return value is calculated as Right - Left + 1. ImGearARTMarktimes rectangles are used with endpoint-exclusive semantics, in which the width of the rectangle should be calculated as Right - Left. In this case, the Width and Height properties should not be used. |
![]() | getLeft | Gets the x-coordinate of the upper-left corner of the rectangle.
|
![]() | getRight | Gets the x-coordinate of the lower-right corner of the rectangle.
|
![]() | getTop | Gets the y-coordinate of the upper-left corner of the rectangle.
|
![]() | getWidth | Gets the width of the rectangle.
Note: The Height and Width properties assume that the rectangle is being used with the endpoint-inclusive semantics. Using endpoint-inclusive semantics, a rectangle with left, top, right, and bottom coordinates all equal to 0 is one pixel wide and one pixel tall. So, for example, the getWidth return value is calculated as Right - Left + 1. ImGearARTMarktimes rectangles are used with endpoint-exclusive semantics, in which the width of the rectangle should be calculated as Right - Left. In this case, the Width and Height properties should not be used. |
![]() | intersect | Checks whether or not the rectangle is intersected with the specified rectangle. |
![]() | isEmpty | Tests whether all numeric properties of the rectangle have their initial values. |
![]() | isWellFormed | Checks if rectangle's width is greater than or equal to zero and if its height is greater than or equal to zero. |
![]() | offset | Shifts the rectangle points by the specified shiftX and shiftY values. |
![]() | setBottom | Sets the y-coordinate of the lower-right corner of the rectangle.
|
![]() | setLeft | Sets the x-coordinate of the upper-left corner of the rectangle.
|
![]() | setRight | Sets the x-coordinate of the lower-right corner of the rectangle.
|
![]() | setTop | Sets the y-coordinate of the upper-left corner of the rectangle.
|