Search
Utilities.createRoundRect Method
See Also
 






Creates a rounded rectangle with the specified location, width, height and corner radiuses.

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

 Syntax

Java  Copy Code

public static GeneralPath createRoundRect (
    double x,
    double y,
    double width,
    double height,
    double rTopLeft,
    double rTopRight,
    double rBottomRight,
    double rBottomLeft
)

 Parameters

x

The left coordinate of the rounded rectangle.

y

The top coordinate of the rounded rectangle.

width

The width of the rounded rectangle.

height

The height of the rounded rectangle.

rTopLeft

The top left radius of the rounded rectangle.

rTopRight

The top right radius of the rounded rectangle.

rBottomRight

The bottom right radius of the rounded rectangle.

rBottomLeft

The bottom left radius of the rounded rectangle.

 Return Value

A GeneralPath instance.

 See Also