Type alias TextOpt

TextOpt: {
    text: string;
    textAlign?: TextAlign;
    textFont?: string;
    textSize?: number;
}

The options of the text object

Type declaration

  • text: string

    The text to display

  • Optional textAlign?: TextAlign

    The align of the text

  • Optional textFont?: string

    The font of the text

  • Optional textSize?: number

    The size of the text

Generated using TypeDoc