The Conroy & Conroy Subroutine Library (2021.3 edition)

TFont
What: class
Ancestor: TBase_Delphi_Object
Layer: 1
Platforms: C++, C#, Javascript, Pascal (Object), PHP, Python

A base abstract class for font descriptions. It contains the following methods:

Baseline
int32 Baseline()
function Baseline() : int32
Returns the baseline for the font.

Bold
bool Bold()
property Bold : boolean read Get_Bold write Set_Bold
Access to Bold value.

Bold_Amount
int32 Bold_Amount()
property Bold_Amount : integer read Get_Bold_Amount write Set_Bold_Amount
Access to Bold_Amount value.

Draw
void Draw( int Canvas, TRectangle Rect, int32 _Baseline )
procedure Draw( Context : int ; Rect : TRectangle ; _Baseline : int32 ; Value : string )
Draws the string onto the specified context in the specified rectangle, with the given baseline. Context is platform-specific.

Get_Bold
bool Get_Bold()
function Get_Bold() : boolean

Get_Bold_Amount
int32 Get_Bold_Amount())
function Get_Bold_Amount() : int32

Get_Italic
bool Get_Italic()
function Get_Italic() : boolean

Get_Italic_Amount
int32 Get_Italic_Amount()
function Get_Italic_Amount() : int32

Get_Name
string Get_Name()
function Get_Name() : string

Get_Size
int32 Get_Size()
function Get_Size() : int32

Italic
bool Italic()
property Italic : boolean read Get_Italic write Set_Italic

Italic_Amount
int32 Italic_Amount()
property Italic_Amount : integer read Get_Italic_Amount write Set_Italic_Amount

Set_Bold
void Set_Bold( bool Value )
procedure Set_Bold( Value : boolean )

Set_Bold_Amount
void Set_Bold_Amount( int32 Value )
procedure Set_Bold_Amount( Value : int32 )

Set_Italic
void Set_Italic( bool Value )
procedure Set_Italic( Value : boolean )

Set_Italic_Amount
void Set_Italic_Amount( int32 Value )
procedure Set_Italic_Amount( Value : int32 )

Set_Name
void Set_Name( string Value )
procedure Set_Name( Value : string )

Set_Size
void Set_Size( int32 Value )
procedure Set_Size( Value : int32 )

Leading
int32 Leading()
function Leading() : int32

Size
int32 Size()
property Size : integer read Get_Size write Set_Size