MindFusion.Java Package Programmer's Guide
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
Package: 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

Utilities Members
Utilities Class
com.mindfusion.charting Namespace