ImageGear for Java
getWidth Method
Gets the width of the rectangle.

Any integer value.

Note:

The Height and Width properties assume that the rectangle is being used with 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() 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.

Syntax
public int getWidth()
See Also

Reference

ImGearRectangle Class
ImGearRectangle Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback