interface FontOptions {
    color?: string;
    fontFamily?: string;
    fontSize?: number;
    fontStyle?: FontStyle;
    fontWeight?: FontWeight;
    lineHeight?: number;
    rotation?: number;
    textAlign?: CanvasTextAlign;
}

Implemented by

Properties

color?: string
fontFamily?: string
fontSize?: number
fontStyle?: FontStyle
fontWeight?: FontWeight
lineHeight?: number
rotation?: number
textAlign?: CanvasTextAlign