ChartDirector 7.1 (C++ Edition)

Box.setRoundedCorners


Usage

void setRoundedCorners(int r1 = 10, int r2 = -1, int r3 = -1, int r4 = -1);

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