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

Set the background color for the selected layer.


Parameters:

NameTypeDescription
actionNameString'setDrawingObjectBackground' layer background color setting API
colorCodeStringhex color (ex; '#000000')


Example:

editor.execCommand('setDrawingObjectBackground', '#ff0000');
  • No labels