IManipulationPermissionsConfig Interface

A structure defining the manipulation permissions.

example
{
    "defaultItemsConfig": {
        "rectangle": {
            "manipulationPermissions": {
                "allowMoveHorizontal": false,
                "resizeGrips": {
                    "edge": false,
                    "corner": ["Proportional"]
                }
              }
        }
    }
}

Properties

Optional allowArbitraryResize

allowArbitraryResize: boolean

Allows arbitrary resizing. Side grips appear on bounding rectangles indicating that you can resize elements arbitrarily.

Optional allowDelete

allowDelete: boolean

Allows deleting elements. The default value is true.

Optional allowMoveHorizontal

allowMoveHorizontal: boolean

Allows moving elements horizontally. The default value is true.

Optional allowMoveVertical

allowMoveVertical: boolean

Allows moving elements vertically. The default value is true.

Optional allowProportionalResize

allowProportionalResize: boolean

Allows proportional resizing. Corner grips appear on bounding rectangles indicating that you can resize elements proportionally. The default value is true.

Optional allowRotate

allowRotate: boolean

Allows rotating elements. The default value is true.

Optional resizeGrips

Enables the corner and side grips to resize elements.