JPlanner Programmer's Guide
RectangleD.round Method
See Also
 






Creates a new Rectangle object created from the specified rectangle by rounding all properties to the nearest integer number.

Namespace: com.mindfusion.common
Package: com.mindfusion.common

 Syntax

Java  Copy Code

public static Rectangle round (
    RectangleD rect
)

 Parameters

rect

The source rectangle.

 Return Value

A Rectangle object representing the newly created rectangle.

 See Also

RectangleD Members
RectangleD Class
com.mindfusion.common Namespace