IShapePermissionsConfig Interface

A structure defining permissions for shapes.

example
{
    "defaultItemsConfig": {
        "rectangle": {
            "shapePermissions": {
                "allowChangeBorderColor": false,
                "allowChangeBorderWidth": false
            }
        }
    }
}

Properties

Optional allowChangeBorderColor

allowChangeBorderColor: boolean

Enables the Border color button in the Top toolbar. The default value is true.

Optional allowChangeBorderWidth

allowChangeBorderWidth: boolean

Enables the Border width button in the Top toolbar. The default value is true.

Optional allowChangeFillColor

allowChangeFillColor: boolean

Enables the Fill color button in the Top toolbar. The default value is true.