Skip to main content

IShapePermissionsData

Interfaces​

IShapePermissionsData​

A structure defining permissions for shapes.

Example​

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

Properties​

allowChangeBorderColor?​
optional allowChangeBorderColor?: boolean;

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

allowChangeBorderWidth?​
optional allowChangeBorderWidth?: boolean;

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

allowChangeFillColor?​
optional allowChangeFillColor?: boolean;

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

Was this page helpful?