Parameters that apply to all types of shield definitions

Hierarchy

  • ShieldDefinitionBase

Properties

bannerMap?: {
    [key: string]: string[];
}

Map of additional networks that are bannered variants of this one

Type declaration

  • [key: string]: string[]
bannerTextColor?: string

Color of banner text

bannerTextHaloColor?: string

Color of banner text halo

banners?: string[]

Banners to be drawn above a shield

colorDarken: string

Perform a color darken operation with this color

colorLighten: string

Perform a color lighten operation with this color

maxFontSize?: number

Maximum size of shield text

Provide a different shield style when there's no ref value

notext?: boolean

If true, no next should be drawn on this shield

numberingSystem?: string

Transpose numbering system, for example "roman" for Roman numerals

overrideByName: Map<string, ShieldDefinition>

Provide a different shield style for specific name values

overrideByRef: Map<string, ShieldDefinition>

Provide a different shield style for specific ref values

padding?: BoxPadding

Padding around shield text

ref?: string

hard-code the shield text to this value

refsByName?: Map<string, string>

ref values that can be mapped from names

textColor?: string

Color of text drawn on a shield

textHaloColor?: string

Color of the halo drawn around text

textLayout?: TextLayout

Algorithm for expanding text to fill a shield background

verticalReflect: boolean

Reflect this shield vertically

Generated using TypeDoc