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

    Function trapezoidDownShield

    • Draws a shield with a trapezoid background, with the short side on bottom

      Parameters

      • sideAngle: number

        Angle (in degrees) at which sides deviate from vertical

      • fillColor: string

        Color of trapezoid background fill

      • strokeColor: string

        Color of trapezoid outline stroke

      • textColor: string

        Color of text (defaults to strokeColor)

      • radius: number

        Corner radius of trapezoid (defaults to 0)

      • rectWidth: number

        Width of trapezoid (defaults to variable-width)

      Returns Partial<ShieldDefinition>

      a shield definition object