ChartDirector 6.0 (Ruby Edition)

Box.setRoundedCorners


Usage

setRoundedCorners([ r1 [, r2 [, r3 [, 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