TLScribble

Public TypeAlias

A type for the scribble used by tldraw.

Signature
type TLScribble = {
  points: Vec2dModel[]
  size: number
  color: TLColor
  opacity: number
  state: SetValue<typeof TL_SCRIBBLE_STATES>
  delay: number
}
References

Vec2dModel, TLColor, SetValue, TL_SCRIBBLE_STATES

Edit this page
Last edited on 5 June 2023
TLRecordTLShape