Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TextStyle

Hierarchy

  • TextStyle

Implements

Index

Constructors

constructor

Properties

Protected _align

_align: string

Protected _breakWords

_breakWords: boolean

Protected _dropShadow

_dropShadow: boolean

Protected _dropShadowAlpha

_dropShadowAlpha: number

Protected _dropShadowAngle

_dropShadowAngle: number

Protected _dropShadowBlur

_dropShadowBlur: number

Protected _dropShadowColor

_dropShadowColor: string | number

Protected _dropShadowDistance

_dropShadowDistance: number

Protected _fill

_fill: string | string[] | number | number[] | CanvasGradient | CanvasPattern

Protected _fillGradientStops

_fillGradientStops: number[]

Protected _fillGradientType

_fillGradientType: number

Protected _fontFamily

_fontFamily: string | string[]

Protected _fontSize

_fontSize: number | string

Protected _fontStyle

_fontStyle: string

Protected _fontVariant

_fontVariant: string

Protected _fontWeight

_fontWeight: string

Protected _letterSpacing

_letterSpacing: number

Protected _lineHeight

_lineHeight: number

Protected _lineJoin

_lineJoin: string

Protected _miterLimit

_miterLimit: number

Protected _padding

_padding: number

Protected _stroke

_stroke: string | number

Protected _strokeThickness

_strokeThickness: number

Protected _textBaseline

_textBaseline: string

Protected _trim

_trim: boolean

Protected _wordWrap

_wordWrap: boolean

Protected _wordWrapWidth

_wordWrapWidth: number

align

align: string

breakWords

breakWords: boolean

dropShadow

dropShadow: boolean

dropShadowAlpha

dropShadowAlpha: number

dropShadowAngle

dropShadowAngle: number

dropShadowBlur

dropShadowBlur: number

dropShadowColor

dropShadowColor: string | number

dropShadowDistance

dropShadowDistance: number

fill

fill: string | string[] | number | number[] | CanvasGradient | CanvasPattern

fillGradientStops

fillGradientStops: number[]

fillGradientType

fillGradientType: number

fontFamily

fontFamily: string | string[]

fontSize

fontSize: number | string

fontStyle

fontStyle: string

fontVariant

fontVariant: string

fontWeight

fontWeight: string

letterSpacing

letterSpacing: number

lineHeight

lineHeight: number

lineJoin

lineJoin: string

miterLimit

miterLimit: number

padding

padding: number

stroke

stroke: string | number

strokeThickness

strokeThickness: number

styleID

styleID: number

textBaseline

textBaseline: string

trim

trim: boolean

wordWrap

wordWrap: boolean

wordWrapWidth

wordWrapWidth: number

Methods

clone

  • Returns TextStyle

reset

  • reset(): void
  • Returns void

toFontString

  • toFontString(): string
  • Returns string

Generated using TypeDoc