Set border width for the selected image, video or layer.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 'setDrawingObjectBorderWidth' layer border width setting API |
width | Number | Border width (px) |
Example:
editor.execCommand('setDrawingObjectBorderWidth', 3); // Set border width to 3px