Back

AddTextH2

Hello World

Adds an H2 text to a layout.

txh = MUI.AddTextH2( parent, text, width, height, options, color, fontWeight ) → Object

See CreateTextH2 for full documentation.

Number
String
String:
  hexadecimal: “#rrggbb”, “#aarrggbb”
  colourName: “red”, “green”, ...
String: “DS text options”
String: “Can be Thin” or “Light” or “Regular” or “Medium” or “Bold”
Object: MUI Layout or DS layout control