GroupShapeUtil
Table of contents
Public class
Signature
class GroupShapeUtil extends ShapeUtil<TLGroupShape> {}
References
Source
packages/editor/src/lib/editor/shapes/group/GroupShapeUtil.tsx
Properties
canBind
Public property
Signature
canBind: () => boolean
hideSelectionBoundsFg
Public property
Signature
hideSelectionBoundsFg: () => boolean
migrations
Public static property
Signature
static migrations: import('@tldraw/store').Migrations
References
onChildrenChange
Public property
Signature
onChildrenChange: TLOnChildrenChangeHandler<TLGroupShape>
References
TLOnChildrenChangeHandler, TLGroupShape
props
Public static property
Signature
static props: import('@tldraw/tlschema').ShapeProps<TLGroupShape>
References
type
Public static property
Signature
static type: 'group'
Methods
component()
Public method
Signature
component(shape: TLGroupShape): import('react/jsx-runtime').JSX.Element | null
Parameters
Name | Description |
---|---|
|
|
Returns
import('react/jsx-runtime').JSX.Element | null
References
getDefaultProps()
Public method
Signature
getDefaultProps(): TLGroupShape['props']
References
getGeometry()
Public method
Signature
getGeometry(shape: TLGroupShape): Geometry2d
Parameters
Name | Description |
---|---|
|
|
Returns
Geometry2d
References
indicator()
Public method
Signature
indicator(shape: TLGroupShape): import('react/jsx-runtime').JSX.Element
Parameters
Name | Description |
---|---|
|
|
Returns
import('react/jsx-runtime').JSX.Element
References