Search
Utilities.rotateRect Method
See Also
 






Rotates the specified Rectangle2D around the specified pivot point and at the specified angle.

Namespace: com.mindfusion.charting
File: com.mindfusion.charting

 Syntax

Java  Copy Code

public static Rectangle2D rotateRect (
    Rectangle2D rc,
    Point2D pivot,
    float angle
)

 Parameters

rc

The Rectangle2D to rotate.

pivot

A Point2D that marks the pivot of the rotation.

angle

The rotation angle.

 Return Value

 See Also