TLScribble

Public TypeAlias

A type for the scribble used by tldraw.

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

Vec2dModel, TLCanvasUiColor, SetValue, TL_SCRIBBLE_STATES

Edit this page
Last edited on 12 June 2023
TLSchemaTLShape