rmapi-js
    Preparing search index...

    Interface RmV6Line

    a version 6 stroke

    interface RmV6Line {
        color: number;
        colorRgba?: number;
        points: RmV6Point[];
        startingLength: number;
        thicknessScale: number;
        tool: number;
    }
    Index

    Properties

    color: number

    the raw color code

    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.

    points: RmV6Point[]

    the sampled points

    startingLength: number

    the length at which the stroke starts

    thicknessScale: number

    the stroke thickness scale

    tool: number

    the raw pen/tool code