bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class BabylonGuiControl

    Index

    Constructors

    create

    • Clone control

      Parameters

      Returns Control

      cloned control

      clone control

      true

    get

    • Get control by name

      Parameters

      Returns Control

      control with the name

      get control by name

    • Gets the height

      Parameters

      Returns string | number

      get control height

    • Gets the width

      Parameters

      Returns string | number

      get control width

    • Gets the color

      Parameters

      Returns string

      get control color

    • Get control font size

      Parameters

      Returns string | number

      control font size. Can be in the form of a string "24px" or a number

      get control font size

    • Get control is visible

      Parameters

      Returns boolean

      control visibility

      get control is visible

    • Get control is readonly

      Parameters

      Returns boolean

      control readonly

      get control is readonly

    • Get control is enabled

      Parameters

      Returns boolean

      control enabled

      get control is enabled

    positioning

    • Change the padding for the control

      Parameters

      Returns Control

      control that has changed padding

      change padding

    • Change the alignment for the control

      Parameters

      • inputs: AlignmentDto<Control>

        the control and the alignment values

      Returns Control

      control that has changed alignment

      change alignment

    set

    • Set if control is visible

      Parameters

      Returns Control

      control with changed visibility

      set control is visible

    • Set if control is readonly

      Parameters

      Returns Control

      control with changed readonly

      set control is readonly

    • Set if control is enabled

      Parameters

      Returns Control

      control with changed enabled

      set control is enabled

    • Sets the control height

      Parameters

      Returns Control

      set control height

    • Sets the control width

      Parameters

      Returns Control

      set control width

    • Sets the control color

      Parameters

      Returns Control

      set control color

    • Set font size

      Parameters

      Returns Control

      control with changed font size

      set control font size