ShieldDefinition: Exclusive<{
    spriteBlank: string[];
}, {
    shapeBlank: ShapeDefinition;
}> & ShieldDefinitionBase

Define how the renderer should draw the shield for various routes

Example

const shieldsDefinition = {
"US:I": {
textColor: Color.shields.white,
spriteBlank: ["shield_us_interstate_2", "shield_us_interstate_3"],
textLayout: textConstraint("southHalfEllipse"),
padding: {
left: 4,
right: 4,
top: 6,
bottom: 5,
}
};

Generated using TypeDoc