Description | Hierarchy | Fields | Methods | Properties |
type TAdSimpleTypeSetter = class(TAdTypeSetter)
TAdSimpleTypeSetter is the standard type setter of Andorra 2D.
![]() |
constructor Create; override; |
![]() |
procedure GenerateLine(AX,AY:double; AText:string; var ATextSet:TAdTextSet); override; |
![]() |
procedure Generate(ARect:TAdRect; AText:string; var ATextSet:TAdTextSet); override; |
![]() |
procedure Assign(ASource:TAdTypeSetter); override; |
![]() |
function CompareTo(ATypeSetter:TAdTypeSetter):boolean; override; |
![]() |
property LineHeight: double index 0 read FLineHeight write SetData; |
![]() |
property CharSpacing: double index 1 read FCharSpacing write SetData; |
![]() |
property CharWidth: double index 2 read FCharWidth write SetData; |
![]() |
property CharHeight: double index 3 read FCharHeight write SetData; |
![]() |
property DrawMode: TAdFontDrawModes read FDrawMode write SetDrawMode; |
![]() |
constructor Create; override; |
Creates a new instance of TAdSimpleTypeSetter. |
![]() |
procedure GenerateLine(AX,AY:double; AText:string; var ATextSet:TAdTextSet); override; |
Generates one line of text. Parameters
|
![]() |
procedure Generate(ARect:TAdRect; AText:string; var ATextSet:TAdTextSet); override; |
Generates the specified text in the given rectangle. Parameters
|
![]() |
procedure Assign(ASource:TAdTypeSetter); override; |
Copies the settings from another instance of a type setter class. |
![]() |
function CompareTo(ATypeSetter:TAdTypeSetter):boolean; override; |
Compares the settings of this instance of the type setter class with another instance and returns whether the settings are equal. |
![]() |
property LineHeight: double index 0 read FLineHeight write SetData; |
Relative value that controls the space between two lines. A value of "2" would mean that there is one line space between two lines. |
![]() |
property CharSpacing: double index 1 read FCharSpacing write SetData; |
Gap between to chars in pixels. |
![]() |
property CharWidth: double index 2 read FCharWidth write SetData; |
Relative width of a char. |
![]() |
property CharHeight: double index 3 read FCharHeight write SetData; |
Relative height of a char. |
![]() |
property DrawMode: TAdFontDrawModes read FDrawMode write SetDrawMode; |
Defines how the text sould be set and aligned. See also
|