ChartDirector 6.0 (Ruby Edition)
BaseBoxLayer.setRoundedCorners
Usage
Description
Values Provided | Description |
---|---|
0 | The radii of all the box corners are automatically determined. |
1 | The radii of all the box corners are set to the specified value. |
2 | The radii of the box-top corners are set to the first value. The radii of the box-bottom corners are set to the second value. |
4 | The radius of the box-top corner at the negative x direction is set to the first value. The radius of the box-top corner at the positive x direction is set to the second value. The radius of the box-bottom corner at the negative x direction is set to the third value. The radius of the box-bottom corner at the positive x direction is set to the fourth value. |
Arguments
Argument | Default | Description |
---|---|---|
r1 | -0x7fffffff | The first radius. See description above on how this radius value is used. |
r2 | -0x7fffffff | The second radius. See description above on how this radius value is used. |
r3 | -0x7fffffff | The third radius. See description above on how this radius value is used. |
r4 | -0x7fffffff | The fourth radius. See description above on how this radius value is used. |
Return Value