Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ResText

Hierarchy

Index

Constructors

constructor

  • new ResText(caption: any, pos: any, scale: any, color?: any, font?: any, justify?: any): ResText

Properties

caption

caption: string

centered

centered: boolean

color

color: Color

dropShadow

dropShadow: boolean

enabled

enabled: boolean

font

font: number

outline

outline: boolean

pos

pos: Point

scale

scale: number

textAlignment

textAlignment: Alignment = Alignment.Left

wordWrap

wordWrap: Size

Methods

draw

  • draw(offset?: Size): void
  • draw(caption: any, pos: any, scale: any, color: any, font: any, arg2: any): void

Static addLongString

  • addLongString(str: string): void

Generated using TypeDoc