Skip to content

pencil.js / resizable / ResizableOptions

Interface: ResizableOptions ​

Defined in: resizable.ts:13

Resizable options

Extends ​

Properties ​

PropertyTypeDescriptionInherited fromDefined in
constrain?| VectorDefinition | nullRelative limit of freedom (in the parent space)DraggableOptions.constraindraggable.ts:16
handle?Component<ComponentOptions>Draggable shape used as handle (default is a right-triangle at the bottom right angle)-resizable.ts:15
x?booleanCan move along horizontal axisDraggableOptions.xdraggable.ts:12
y?booleanCan move along vertical axisDraggableOptions.ydraggable.ts:14

Released under the MIT License.