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

    Function homePlateUpShield

    • Draws a shield with a home plate background, pointed upward

      Parameters

      • yOffset: number

        Height of diagonal edges

      • fillColor: string

        Color of home plate background fill

      • strokeColor: string

        Color of home plate outline stroke

      • textColor: string

        Color of text (defaults to strokeColor)

      • radius1: number

        Corner radius of pointed side of home plate (defaults to 2)

      • radius2: number

        Corner radius of flat side of home plate (defaults to 2)

      • rectWidth: number

        Width of home plate (defaults to variable-width)

      Returns Partial<ShieldDefinition>

      a shield definition object