rmapi-js
    Preparing search index...

    Interface RmV6Line

    a version 6 stroke

    interface RmV6Line {
        color: RmColorCode;
        colorRgba?: number;
        moveId?: CrdtId;
        points: RmV6Point[];
        startingLength: number;
        thicknessScale: number;
        timestampId?: CrdtId;
        tool: RmBrushCode;
    }
    Index

    the color code, named by rmColors

    colorRgba?: number

    a packed little-endian uint32 color, only present for highlighter strokes

    Logical channels are RGBA, stored in BGRA byte order (the integer is 0xAARRGGBB): r = (v >> 16) & 0xff, g = (v >> 8) & 0xff, b = v & 0xff, a = (v >> 24) & 0xff. Kept as the raw packed value.

    moveId?: CrdtId

    the stroke's move id, if the file carried one

    points: RmV6Point[]

    the sampled points

    startingLength: number

    the length at which the stroke starts

    thicknessScale: number

    the stroke thickness scale

    timestampId?: CrdtId

    the stroke's timestamp id, if the file carried one

    the pen code, named by rmBrushes