Table of contents

Public interface

Signature
interface TLShapeUtilConstructor<
  T extends TLUnknownShape,
  U extends ShapeUtil<T> = ShapeUtil<T>,
> {}
References

TLUnknownShape, ShapeUtil

Source

packages/editor/src/lib/editor/shapes/ShapeUtil.ts


(new)

Public constructsignature

Parameters
NameDescription

editor

Editor
Returns
U
References

Editor


Properties

migrations

Public propertysignature

Signature
migrations?: LegacyMigrations | MigrationSequence | TLPropsMigrations
References

LegacyMigrations, MigrationSequence, TLPropsMigrations


props

Public propertysignature

Signature
props?: RecordProps<T>
References

RecordProps


type

Public propertysignature

Signature
type: T['type']

TLShapeUtilCanvasSvgDefTLShapeUtilFlag