Class TCastleLabel
Unit
CastleControls
Declaration
type TCastleLabel = class(TUIControlFont)
Description
Label with possibly multiline text, in a box.
Hierarchy
Overview
Fields
Methods
Properties
 |
property Color: TCastleColor read FColor write FColor; |
 |
property Text: TStrings read FText; |
 |
property Padding: Integer read FPadding write FPadding default 0; |
 |
property LineSpacing: Integer read FLineSpacing write FLineSpacing default 0; |
 |
property Tags: boolean read FTags write FTags default false; |
Description
Fields
Methods
 |
constructor Create(AOwner: TComponent); override; |
|
 |
destructor Destroy; override; |
|
 |
procedure Render; override; |
|
Properties
 |
property Color: TCastleColor read FColor write FColor; |
Text color. By default it's white.
|
 |
property Text: TStrings read FText; |
|
 |
property Padding: Integer read FPadding write FPadding default 0; |
Inside the label box, padding between rect borders and text.
|
 |
property LineSpacing: Integer read FLineSpacing write FLineSpacing default 0; |
Extra spacing between lines (may also be negative to squeeze lines tighter).
|
 |
property Tags: boolean read FTags write FTags default false; |
Does the text use HTML-like tags . This is very limited for now, see TCastleFont.PrintStrings documentation.
|
Generated by PasDoc 0.13.0 on 2014-08-30 12:10:33
|