Table of contents

Public class

Signature
abstract class BaseBoxShapeUtil<
  Shape extends TLBaseBoxShape,
> extends ShapeUtil<Shape> {}
References

TLBaseBoxShape, ShapeUtil

Source

packages/editor/src/lib/editor/shapes/BaseBoxShapeUtil.tsx


Properties

onResize

Public property

Signature
onResize: TLOnResizeHandler<any>
References

TLOnResizeHandler


Methods

getGeometry()

Public method

Signature
getGeometry(shape: Shape): Geometry2d
Parameters
NameDescription

shape

Shape
Returns
Geometry2d
References

Geometry2d


BaseBoxShapeToolBox