Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SpriteText

Hierarchy

  • Sprite
    • SpriteText

Index

Constructors

Properties

angle: number
backgroundColor: SpriteTextColorType
borderColor: SpriteTextColorType
borderRadius: number
borderWidth: number
fontFace: string
fontSize: number
fontStyle: TextFontStyle
fontVariant: string
fontWeight: TextFontWeight
padding: number | number[]
strokeColor: SpriteTextColorType
strokeWidth: number
text: string
textAlign: CanvasTextAlign
textHeight: number
textScale: number
textShadowBlur: number
textShadowColor: undefined | string | number | Color
textShadowOffsetX: number
textShadowOffsetY: number
underline: boolean

Methods

  • _genCanvas(): void
  • Returns void

  • dispose(): void
  • Returns void