Class TRichText
Unit
CastleFontFamily
Declaration
type TRichText = class(specialize TObjectList<TTextLine>)
Description
Multi-line text with processing commands (like "change font to bold now"). Used to render "rich text", which is text that may contain (a subset of) HTML.
Note that TRichText instance is always tied to a corresponding TFontFamily used to render it. Through the lifetime of TRichText, we assume that size and other properties of this font remain constant.
Hierarchy
- TObject
- TList
- TObjectList
- TRichText
Overview
Methods
Description
Methods
 |
constructor Create(const AFont: TCastleFont; const Text: TStrings; const Html: boolean); |
|
|
 |
constructor Create(const AFont: TCastleFont; const S: string; const Html: boolean); |
|
|
 |
destructor Destroy; override; |
|
|
 |
function Width: Single; |
|
|
 |
procedure Wrap(const MaxWidth: Single); |
|
|
 |
function DisplayChars: Cardinal; |
|
|
Generated by PasDoc 0.16.0.