Set border width for the selected image, video or layer.


Parameters:

NameTypeDescription
actionNameString'setDrawingObjectBorderWidth' layer border width setting API
widthNumberBorder width (px)


Example:

editor.execCommand('setDrawingObjectBorderWidth', 3); // Set border width to 3px