ChartDirector 7.0 (Java Edition)

Box.setRoundedCorners


Usage

public void setRoundedCorners([ int r1 [, int r2 [, int r3 [, int r4 ]]]])

Description

Sets the border style to use rounded corners.

Arguments

ArgumentDefaultDescription
r110The radius of the top-left rounded corner in pixels.
r2-1The radius of the top-right rounded corner in pixels. -1 means it is the same as the radius of the top-left corner.
r3-1The radius of the bottom-right rounded corner in pixels. -1 means it is the same as the radius of the top-left corner.
r4-1The radius of the bottom-left rounded corner in pixels. -1 means it is the same as the radius of the top-left corner.

Return Value

None