FBLabel Class Reference


Detailed Description

Text label.

Examples
UI/Label.py
Inheritance diagram for FBLabel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  __init__ ()
  Constructor.
  SetTextColor (FBColorAndAlpha pColorRGBA)
  Sets the label text color.
  SetBackgroundDrawing (bool pDrawBackGround)
  Sets whether a background is drawn for the label.

Public Attributes

FBPropertyTextJustify  Justify
  Read Write Property: Text justification for label.
FBPropertyTextStyle  Style
  Read Write Property: Text style appearance.
FBPropertyBase  WordWrap
  Read Write Property: Enable wordwrap on text drawing.

Member Function Documentation

__init__ ( )

Constructor.

Examples
UI/Label.py
SetTextColor ( FBColorAndAlpha  pColorRGBA )

Sets the label text color.

Parameters:
pColorRGBA New text color.
SetBackgroundDrawing ( bool  pDrawBackGround )

Sets whether a background is drawn for the label.

Parameters:
pDrawBackGround Background drawing enable or not.

Member Data Documentation

FBPropertyTextJustify Justify

Read Write Property: Text justification for label.

FBPropertyTextStyle Style

Read Write Property: Text style appearance.

FBPropertyBase WordWrap

Read Write Property: Enable wordwrap on text drawing.


FBLabel FBLabel FBLabel FBLabel FBLabel FBLabel FBLabel FBLabel FBLabel FBLabel
FBLabel FBLabel FBLabel FBLabel FBLabel FBLabel FBLabel FBLabel FBLabel FBLabel