rmapi-js
    Preparing search index...

    Interface TemplateShape

    a path a template draws

    The tablet strokes it with square (projecting) caps and bevel joins.

    interface TemplateShape {
        dash: number[];
        fill: string | undefined;
        steps: PathStep[];
        stroke: string | undefined;
        strokeWidth: number;
        type: "shape";
    }
    Index
    dash: number[]

    the lengths of its stroke's dashes and of the gaps between them, in turn, from the start of each piece, repeated along it; empty for a solid stroke

    A list of odd length repeats with dashes and gaps swapped, as in a PDF or SVG, so it suits setLineDash as it is. When not empty, its lengths add up to at least half a pixel.

    fill: string | undefined

    the color it is filled with, as #rrggbbaa, or undefined for none

    steps: PathStep[]

    its path

    stroke: string | undefined

    the color it is stroked in, as #rrggbbaa, or undefined for none

    strokeWidth: number

    how wide it is stroked, 0 for the thinnest line the screen can draw

    type: "shape"

    what it is