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');