Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Text

Hierarchy

Index

Constructors

constructor

  • new Text(caption: any, pos: any, scale: any, color: any, font: any, centered: any): Text

Properties

caption

caption: string

centered

centered: boolean

color

color: Color

enabled

enabled: boolean

font

font: number

pos

pos: Point

scale

scale: number

Methods

draw

  • draw(caption: any, pos?: any, scale?: any, color?: Color, font?: any, centered?: any): void
  • Parameters

    • caption: any
    • Optional pos: any
    • Optional scale: any
    • Optional color: Color
    • Optional font: any
    • Optional centered: any

    Returns void

Static addLongString

  • addLongString(str: string): void
  • Parameters

    • str: string

    Returns void

Generated using TypeDoc