@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    A single sampled position within a stroke.

    interface StrokePoint {
        pressure?: number;
        time: number;
        x: number;
        y: number;
    }
    Index

    Properties

    Properties

    pressure?: number

    Normalised pointer pressure in the range [0, 1]. Present only when pressure capture is enabled and the hardware supports it. Absence must not break drawing, replay, or export.

    time: number

    Timestamp in milliseconds when this point was captured (Date.now() at sample time).

    x: number

    Horizontal canvas coordinate in pixels.

    y: number

    Vertical canvas coordinate in pixels.