version 6.0
DR SET CORNER ROUNDING (area; scope; amount)
| Parameter | Type | Description | |
| area | Longint | 4D Draw area | |
| scope | Longint | -2 = Default, -1 = All, 0 = Selected, >0 = ID | |
| amount | Real | Corner rounding amount |
Description
The command DR SET CORNER ROUNDING changes the corner rounding for the objects in area described by scope. The corner rounding is specified in base units. Use the DR Scale to base function to convert from scale units to base units.
If scope equals -2, the command sets the default corner rounding for new round rectangles.
If scope equals -1, the command sets the corner rounding for all objects in the document.
If scope equals 0, the command sets the corner rounding for the selected objects.
If scope is greater than 0, it must be equal to a specific object's ID and that object's corner rounding is set. If the object does not exist, DR SET CORNER ROUNDING does nothing, and DR Error returns error number 2.
See Also
DR Get corner rounding, DR Get ID.