TLDrawShapeSegment
Table of contents
A segment of a draw shape representing either freehand drawing or straight line segments.
interface TLDrawShapeSegment {}Properties
path
Delta-encoded base64 path data. First point stored as Float32 (12 bytes) for precision, subsequent points as Float16 deltas (6 bytes each).
path: string;type
Type of drawing segment - 'free' for freehand curves, 'straight' for line segments
type: "free" | "straight";Prev
TLDrawShapePropsNext
TLEmbedShapeProps