Google Apps Script API
    Preparing search index...

    A builder used to create TextStyle objects. It allows configuration of the text's properties such as name, color, and size.

    The following example shows how to create a text style using the builder. For a more complete example, refer to the documentation for TextStyle.

    // Creates a new text style that uses 26-point, blue, Ariel font.
    var textStyleBuilder = Charts.newTextStyle()
        .setColor('#0000FF').setFontName('Ariel').setFontSize(26);
    var style = textStyleBuilder.build();
    
    interface TextStyleBuilder {
        build(): GoogleAppsScript.Charts.TextStyle;
        setColor(cssValue: string): GoogleAppsScript.Charts.TextStyleBuilder;
        setFontName(fontName: string): GoogleAppsScript.Charts.TextStyleBuilder;
        setFontSize(fontSize: number): GoogleAppsScript.Charts.TextStyleBuilder;
    }
    Index

    Methods