IResizeGripsPermissions Interface

A structure defining the grips that appear on bounding rectangles.

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

Properties

corner

corner: string []

An array of one or two elements enabling corner grips. The array elements are either "Proportional" or "Arbitrary". The second element of the corner array defines how design elements should be resized when users drag corner grips while holding down the Shift key. To disallow any rotation, pass an empty array.

edge

edge: boolean

Enbles side grips to resize elements arbitrarily.