Represents information about a font that is used in the Mod Visualization.

interface FontInfo {
    color: string;
    fontFamily: string;
    fontSize: number;
    fontStyle: string;
    fontWeight: string;
}

Properties

color: string

Gets the value to use for the color CSS property.

fontFamily: string

Gets the value to use for the font-family CSS property.

fontSize: number

Gets the font size in pixels.

fontStyle: string

Gets the value to use for the font-style CSS property.

fontWeight: string

Gets the value to use for the font-weight CSS property.