Skip to main content

Interface: ItemHandlesDesignLayerProps

Hierarchy​

  • Omit<DesignLayerProps, "children">

    ↳ ItemHandlesDesignLayerProps

Properties​

enableCornerRotation​

• Optional enableCornerRotation: boolean

Control whether rotation handles appear on each corner

Default

false

Defined in​

packages/design-engine-react-components/src/components/itemHandles/ItemHandlesDesignLayer.tsx:22


enableRotationHandle​

• Optional enableRotationHandle: boolean

Control whether the rotation handle appears below the item

Default

true

Defined in​

packages/design-engine-react-components/src/components/itemHandles/ItemHandlesDesignLayer.tsx:16


enableTextCornerScaling​

• Optional enableTextCornerScaling: boolean

Control whether resize handles appear on each corner for ratio-locked scaling of text items

Default

true

Defined in​

packages/design-engine-react-components/src/components/itemHandles/ItemHandlesDesignLayer.tsx:28


getMinMmDimensions​

• Optional getMinMmDimensions: (item: ItemState<Item>) => Dimensions

Type declaration​

▸ (item): Dimensions

Optional function used to determine the minimum dimensions in mm evaluated for a given item

Parameters​
NameType
itemItemState<Item>
Returns​

Dimensions

Defined in​

packages/design-engine-react-components/src/components/itemHandles/ItemHandlesDesignLayer.tsx:36


panel​

• panel: PanelState

Defined in​

packages/design-engine-react-components/src/components/itemHandles/ItemHandlesDesignLayer.tsx:10


resizeHandlesResolver​

• Optional resizeHandlesResolver: (item: ItemState<Item>, isAspectRatioLocked: boolean) => Handle[]

Type declaration​

▸ (item, isAspectRatioLocked): Handle[]

Control which resize handles are shown depending on the item. Handle behavior will remain unchanged.

Parameters​
NameType
itemItemState<Item>
isAspectRatioLockedboolean
Returns​

Handle[]

Defined in​

packages/design-engine-react-components/src/components/itemHandles/ItemHandlesDesignLayer.tsx:32