Class TBitmapFont.TStyleTags
Unit
PXL.Fonts
Declaration
type TStyleTags = class(TObject)
Description
Text tags that allow changing colors directly inside text. These tags are specified similarly to XML tags but in simplified form. For instance, tags with names "red" and "green" with their corresponding colors can be used as in the following text: This is a <green>demo <red>string</> with custom color</> tag.
Hierarchy
- TObject
- TBitmapFont.TStyleTags
Enclosing Class
Overview
Internal Classes and Records
Internal Types
Methods
Description
Internal Types
Methods
 |
function Find(const Name: UniString): PEntry; |
|
Searches for the given tag and returns pointer to its entry. If no tag with such name exists, Nil is returned.
|
 |
procedure Clear; |
|
Remove all existing tags from the list.
|
 |
procedure Delete(const Name: UniString); |
|
Removes tag with the specified name from the list. If no such tag exists, this method does nothing.
|
 |
procedure Insert(const Name: UniString; const Color: TColorPair; const Style: Cardinal = 0); |
|
Inserts new tag with the given name, color and style to the list.
|
Copyright © 2000 - 2017 Yuriy Kotsarenko. Help files generated by PasDoc.
|