Search
Utilities.pointInPie Method
See Also
 






Checks if the specified point is inside the portion of the pie defined by the specified bounding rectangle, angle and sweep angle.

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

 Syntax

Java  Copy Code

public static boolean pointInPie (
    Point2D point,
    Rectangle2D rect,
    double angle,
    double sweep
)

 Parameters

point

A Point2D to check.

rect

The Rectangle2D that bounds the pie.

angle

The start angle.

sweep

The sweep angle.

 Return Value

true if the point is inside the pie; otherwise false.

 See Also