DR SET CORNER ROUNDING

4D - Documentation   Français   English   German   4D Draw 2004, Command Theme List   4D Draw 2004, Command Alphabetical List   Back   Previous   Next

version 6.0


DR SET CORNER ROUNDING (area; scope; amount)

ParameterTypeDescription
areaLongint4D Draw area
scopeLongint-2 = Default, -1 = All, 0 = Selected, >0 = ID
amountRealCorner 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.


4D - Documentation   Français   English   German   4D Draw 2004, Command Theme List   4D Draw 2004, Command Alphabetical List   Back   Previous   Next