Page tree
Skip to end of metadata
Go to start of metadata

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 
  • No labels