Skip to main content

Interface: GroupLayoutOptions

Options for rigid-body group transform (uniform scale + translate).

Properties​

PropertyTypeDescription
animate?boolean | ((position: Point) => PositionTransitionDescriptor)Animate the transform. Default: false. A callback configures the shared center transition once.
duration?numberDuration in seconds when animate: true. Default: 0.6s.
origin?PointTransform origin as [x, y] in stage units. Default: bounding-box center of the elements.
position?PointTarget center position as [x, y] in stage units. Default: current bounding center.
scale?numberRelative scale multiplier applied to current positions and scales. Default: 1.