Type alias LetterOptions

LetterOptions: {
    backgroundColor?: Color;
    color?: Color;
    isSmallText?: boolean;
    mirror?: {
        x?: 1 | -1;
        y?: 1 | -1;
    };
    rotation?: number;
    scale?: {
        x?: number;
        y?: number;
    };
}

Options for drawing text and characters.

Type declaration

  • Optional backgroundColor?: Color
  • Optional color?: Color
  • Optional isSmallText?: boolean
  • Optional mirror?: {
        x?: 1 | -1;
        y?: 1 | -1;
    }
    • Optional x?: 1 | -1
    • Optional y?: 1 | -1
  • Optional rotation?: number

    A value from 0 to 3 that defines the direction of character rotation.

  • Optional scale?: {
        x?: number;
        y?: number;
    }
    • Optional x?: number
    • Optional y?: number

Generated using TypeDoc