@americana/maplibre-shield-generator
    Preparing search index...

    Interface ShapeBlankParams

    Parameters for drawing shield shapes

    interface ShapeBlankParams {
        fillColor: string;
        outlineWidth?: number;
        pointUp?: boolean;
        radius?: number;
        radius1?: number;
        radius2?: number;
        rectWidth?: number;
        shortSideUp?: boolean;
        sideAngle?: number;
        strokeColor: string;
        yOffset?: number;
    }
    Index

    Properties

    fillColor: string

    Fill color of the shape

    outlineWidth?: number

    Width of the shape's outline

    pointUp?: boolean

    Specify whether the pointy end of the shape is on top

    radius?: number

    Radius of the shape's corners

    radius1?: number

    Radius of the shape's first corner. This is used for shapes that can specify multiple radius values

    radius2?: number

    Radius of the shape's second corner. This is used for shapes that can specify multiple radius values

    rectWidth?: number

    Width of the shape

    shortSideUp?: boolean

    Specify whether the short side of the shape is on top

    sideAngle?: number

    Specify the angle at which the sides of the shape deviate from vertical. Higher number means pointier sides

    strokeColor: string

    Stroke (border) color

    yOffset?: number

    Distance from top or bottom edge to vertices. Higher number means pointier top and/or bottom