rmapi-js
    Preparing search index...

    Interface RmLine

    a single stroke (called a "line") within a layer

    interface RmLine {
        brushBaseSize: number;
        brushType: RmBrushCode;
        color: RmColorCode;
        padding?: number;
        points: RmPoint[];
        unknown?: number;
    }
    Index
    brushBaseSize: number

    the base brush size

    brushType: RmBrushCode

    the pen code, named by rmBrushes

    the color code, named by rmColors

    padding?: number

    a per-stroke padding field, typically 0

    points: RmPoint[]

    the sampled points making up the stroke, in order

    unknown?: number

    [unknown] a per-stroke field only present in version 5