FreakingGenius - v0.1.0
    Preparing search index...

    Interface LinePrimitive

    A straight line segment between two canvas points.

    interface LinePrimitive {
        color: string;
        end: Point;
        id: string;
        kind: "line";
        start: Point;
        strokeWidth: number;
    }
    Index

    Properties

    color: string

    Stroke colour.

    end: Point

    End point in canvas pixels.

    id: string

    Unique primitive identifier (UUID v4).

    kind: "line"
    start: Point

    Start point in canvas pixels.

    strokeWidth: number

    Stroke width in logical pixels.