FreakingGenius - v0.1.0
    Preparing search index...

    Interface Stroke

    A single continuous pen stroke: an ordered sequence of pressure-point samples from pen-down to pen-up.

    interface Stroke {
        bounds: BoundingBox;
        color: string;
        endedAt: number | null;
        id: string;
        points: PressurePoint[];
        startedAt: number;
        width: number;
    }
    Index

    Properties

    bounds: BoundingBox

    Tight bounding box around all points in this stroke.

    color: string

    CSS colour string applied to this stroke, e.g. "#000000".

    endedAt: number | null

    Unix timestamp (ms) when pen-up was detected. null if the stroke is still in progress.

    id: string

    Unique stroke identifier (UUID v4).

    points: PressurePoint[]

    Ordered pressure-point samples along the stroke path.

    startedAt: number

    Unix timestamp (ms) when pen-down was detected.

    width: number

    Line width in logical pixels.