@mocanvas/mocanvas · class

GroupShapeUtil

declare class GroupShapeUtil extends ShapeUtil<GroupShape>

A container with no visuals of its own; its bounds are the union of its children.


Methods · 9

canReceiveNewChildrenOfType(): boolean
canResize(): boolean
component(): null
getDefaultProps(): GroupShape["props"]
getGeometry(shape: GroupShape): Geometry2d
getIndicatorPath(shape: GroupShape): TLIndicatorPath

Dashed, so a group's outline is never mistaken for a shape of its own.

getRenderStyle(_shape: GroupShape): StyleWords
hideResizeHandles(): boolean
hideSelectionBoundsBg(): boolean

Properties · 3

static migrations: _mocanvas_editor.PropsMigrations
static props: _mocanvas_editor.RecordProps<GroupShape>
static type: "group"

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.