Set the background color for the selected layer.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 'setDrawingObjectBackground' layer background color setting API |
colorCode | String | hex color (ex; '#000000') |
Example:
editor.execCommand('setDrawingObjectBackground', '#ff0000');