Class TBitmapFont.TStyleTags

DescriptionHierarchyEnclosing ClassInternal Classes and RecordsInternal TypesFieldsMethodsProperties

Unit

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

Protected TEntry = record

Internal Types

Protected PEntry = ˆTEntry;

Methods

Protected function Find(const Name: UniString): PEntry;
Public procedure Clear;
Public procedure Delete(const Name: UniString);
Public procedure Insert(const Name: UniString; const Color: TColorPair; const Style: Cardinal = 0);

Description

Internal Types

Protected PEntry = ˆTEntry;

Pointer to TEntry.

Methods

Protected 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.

Public procedure Clear;

Remove all existing tags from the list.

Public procedure Delete(const Name: UniString);

Removes tag with the specified name from the list. If no such tag exists, this method does nothing.

Public 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.