Search
Utilities.calcPieBoundingRect Method
See Also
 






Calculates the rectangle that bounds the pie with the specified raidus and maximum width of labels at the right and left pie side.

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

 Syntax

Java  Copy Code

public static Rectangle2D calcPieBoundingRect (
    double maxLeftLabelWidth,
    double maxRightLabelWidth,
    double leftLabelAngle,
    double rightLabelAngle,
    double radius
)

 Parameters

maxLeftLabelWidth

The maximum width of labels to the left.

maxRightLabelWidth

The maximum width of labels to the right.

leftLabelAngle

The left-most pie label.

rightLabelAngle

The right-most pie label.

radius

The radius of the pie.

 Return Value

A Rectangle2D instance.

 See Also