Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BabylonGuiTextBlock

Index

Constructors

constructor

Methods

alignText

  • Change the alignment for the text

    group

    positioning

    shortname

    align text block text

    Parameters

    • inputs: AlignmentDto<TextBlock>

      the text block and the alignment values

    Returns TextBlock

    control that has changed text alignment

createTextBlock

  • Creates text block

    group

    create

    shortname

    create text block

    disposableoutput

    true

    Parameters

    Returns TextBlock

createTextBlockObservableSelector

getLineSpacing

  • Gets the line spacing of the text block

    group

    get

    shortname

    get line spacing

    Parameters

    Returns string | number

    line spacing of the text block

getOutlineWidth

  • Gets the outline width of the text block

    group

    get

    shortname

    get outline width

    Parameters

    Returns number

    outline width of the text block

getResizeToFit

  • Gets the resize to fit of the text block

    group

    get

    shortname

    get resize to fit

    Parameters

    Returns boolean

    resize to fit of the text block

getText

  • Gets the text of the text block

    group

    get

    shortname

    get text block text

    Parameters

    Returns string

    text of the text block

getTextHorizontalAlignment

  • Gets the text horizontal alignment of the text block

    group

    get

    shortname

    get text horizontal alignment

    Parameters

    Returns number

    text horizontal alignment of the text block

getTextVerticalAlignment

  • Gets the text vertical alignment of the text block

    group

    get

    shortname

    get text vertical alignment

    Parameters

    Returns number

    text vertical alignment of the text block

getTextWrapping

  • getTextWrapping(inputs: TextBlockDto): boolean | TextWrapping
  • Gets the text wrapping of the text block

    group

    get

    shortname

    get text wrapping

    Parameters

    Returns boolean | TextWrapping

    text wrapping of the text block

setLineSpacing

  • Sets the line spacing of the text

    group

    set

    shortname

    set line spacing

    Parameters

    Returns TextBlock

    control that has changed line spacing

setRsizeToFit

  • Enable or disable resize to fit

    group

    set

    shortname

    set resize to fit

    Parameters

    Returns TextBlock

    control that has enabled or disabled resize to fit

setText

  • Sets the new text to the text block

    group

    set

    shortname

    set text block text

    Parameters

    Returns TextBlock

    control that has changed text

setTextOutline

  • Change the text outline for the text

    group

    set

    shortname

    text outline

    Parameters

    Returns TextBlock

    control that has changed text outline

setTextWrapping

  • Sets the new text wrapping to the text block

    group

    set

    shortname

    set text wrapping

    Parameters

    Returns TextBlock

    control that has changed text wrapping

Generated using TypeDoc