[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
The Font to be used for drawing Text
Source position: graphics.pp line 470
type TFont = class(TFPCustomFont) |
||
protected |
||
function GetCharSet; |
|
GetCharSet - returns the Character Set to be used for this Font |
function GetHeight; |
|
GetHeight - returns the height of the Font |
function GetName; |
|
GetName - returns the name of the Font |
function GetPitch; |
|
GetPitch - returns the pitch of the Font |
function GetSize; |
|
GetSize - returns the size of the Font |
function GetStyle; |
|
GetStyle - returns the style of the Font |
procedure Changed; override; |
||
procedure DoAllocateResources; override; |
||
procedure DoCopyProps(); override; |
||
procedure DoDeAllocateResources; override; |
||
procedure SetCharSet(); |
|
SetCharSet - specify the character set |
procedure SetColor(); |
|
SetColor - specify the colour for the font |
procedure SetFlags(); override; |
||
procedure SetFPColor(); override; |
||
procedure SetHeight(); |
|
SetHeight - specify the height of the Font |
procedure SetName(); override; |
||
procedure SetPitch(); |
|
SetPitch - specify the pitch for the Font |
procedure SetSize(); override; |
||
procedure SetStyle(); |
|
SetStyle - specify which style to use |
procedure SetQuality(); |
|
SetQuality - specify the quality |
public |
||
constructor Create; override; |
||
destructor Destroy; override; |
||
procedure Assign(); |
|
|
procedure BeginUpdate; |
|
BeginUpdate - start the update process |
procedure EndUpdate; |
|
EndUpdate - finish the update process |
function HandleAllocated; |
|
HandleAllocated - returns True if a handle has been allocated |
|
Operataing system Handle for this Font |
|
function IsDefault; |
|
IsDefault - returns True if this is the default Font |
function IsEqual(); virtual; |
|
IsEqual - returns True if this Font is the same as the specified Font |
property IsMonoSpace: Boolean; [r] |
|
IsMonoSpace - returns True if this is a MonoSpace Font |
procedure SetDefault; |
|
SetDefault - method for setting the default Font |
property CanUTF8: Boolean; [r] |
|
CanUTF8 - returns True if Font can be used for UTF8 |
property PixelsPerInch: Integer; [rw] |
|
PixelsPerInch - scaling factor for drawing Font |
property Reference: TWSFontReference; [r] |
|
Reference - References made to this Font |
published |
||
property CharSet: TFontCharSet; [rw] |
|
The Character Set to be used by the currentFont |
|
Colour of the current Font |
|
property Height: Integer; [rws] |
|
The Height of the current Font |
property Name: String; [rws] |
||
property Pitch: TFontPitch; [rw] |
|
Pitch type of the Font |
property Quality: TFontQuality; [rw] |
|
Output quality of the Font, such as antialiasing |
property Size: Integer; [rws] |
||
property Style: TFontStyles; [rw] |
|
Style of the Font |
end; |
|
The Font to be used for drawing Text |
|
| | ||
TFPCustomFont |
||
? | ||
TObject |
Most of the data about the font are dealt with by the protected procedures GetData and SetData which operate on TFontData
Individual properties such as Character Set, colour and size can be accessed in the public area