TLBaseShape

See source code
Table of contents

Extends BaseRecord<'shape', TLShapeId>.

interface TLBaseShape<Type extends string, Props extends object>
  extends BaseRecord<'shape', TLShapeId> {}

Properties

id

readonly
readonly id: Id

index

index: IndexKey

isLocked

isLocked: boolean

meta

meta: JsonObject

opacity

opacity: TLOpacityType

parentId

parentId: TLParentId

props

props: Props

rotation

rotation: number

type

type: Type

typeName

readonly
readonly typeName: TypeName

x

x: number

y

y: number

Prev
TLBaseBinding
Next
TLBookmarkShapeProps