TLDrawShapeSegment
See source codeTable of contents
A segment of a draw shape representing either freehand drawing or straight line segments.
interface TLDrawShapeSegment {}
Properties
points
Array of points defining the segment path with x, y coordinates and pressure (z)
points: VecModel[]
type
Type of drawing segment - 'free' for freehand curves, 'straight' for line segments
type: 'free' | 'straight'
Prev
TLDrawShapePropsNext
TLEmbedShapeProps