FreakingGenius - v0.1.0
    Preparing search index...

    Interface PressurePoint

    A single stylus sample: position, pressure, and capture timestamp.

    interface PressurePoint {
        pressure: number;
        timestamp: number;
        x: number;
        y: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    pressure: number

    Normalised stylus pressure in the closed interval [0, 1]. 0 = feather-light contact; 1 = maximum hardware force.

    timestamp: number

    Unix timestamp (ms) when this sample was recorded on the device.

    x: number

    Horizontal offset from the canvas origin, in logical pixels.

    y: number

    Vertical offset from the canvas origin, in logical pixels.