Bitbybit Docs
    Preparing search index...

    Class SetTextBlockTextOutlineDto (Inputs.BabylonGui)

    Feeds babylon.gui.textBlock.setTextOutline with a text block and the width and color of the outline around its letters.

    Index

    Constructors

    • Parameters

      • OptionaltextBlock: TextBlock
      • OptionaloutlineWidth: number
      • OptionaloutlineColor: string

      Returns SetTextBlockTextOutlineDto

    Properties

    textBlock: TextBlock

    The text block to change in place

    undefined
    
    outlineWidth: number

    Width of the outline around the letters, in pixels; 0 removes it

    0
    

    0

    Infinity

    0.1

    outlineColor: string

    CSS color of the outline

    white