TCharacter
What: class
Ancestor: TBase_Delphi_Object
File:
Layer: 1
Platforms: C++, Pascal (Object)
This is an abstract base class for characters. It contains the following methods:
Baseline
int32 Baseline()
function Baseline : integer
Sets the character baseline.
Bold
bool Bold()
property Bold : boolean read Get_Bold write Set_Bold
Access to the character bold state.
Bold_Amount
int Bold_Amount()
property Bold_Amount : integer read Get_Bold_Amount write Set_Bold_Amount
Access to the character bold amount.
Color
int Color()
property Color : TColor read Get_Color write Set_Color
Access to the character color.
Draw
void Draw( int Canvas, TRect Rect, int32 _Baseline )
procedure Draw( Canvas : TCanvas ; Rect : TRect ; _Baseline : integer )
Draw the character on the canvas.
Font
int Font()
property Font : TFont read Get_Font write Set_Font
Access to the character font.
Get_Bold
bool Get_Bold()
function Get_Bold : boolean
Returns true if the character is bolded.
Get_Bold_Amount
int32 Get_Bold_Amount()
function Get_Bold_Amount : integer
Indicates the amount of bolding.
Get_Color
int32 Get_Color()
function Get_Color : TColor
Returns the character color.
Get_Font
int Get_Font()
function Get_Font : TFont
Returns the font for the character.
Get_Italic
bool Get_Italic()
function Get_Italic : boolean
Returns true if the character is italicized.
Get_Italic_Amount
int32 Get_Italic_Amount()
function Get_Italic_Amount : integer
Indicates the amount of italicization.
Get_Size
int32 Get_Size()
function Get_Size : integer
Returns the character size.
Get_Value
string Get_Value()
function Get_Value : string
Returns the character.
Height
int32 Height()
function Height : integer
Sets the character height.
Italic
bool Italic()
property Italic : boolean read Get_Italic write Set_Italic
Access to the character italic state.
Italic_Amount
int Italic_Amount()
property Italic_Amount : integer read Get_Italic_Amount write Set_Italic_Amount
Access to the character italic amount.
Leading
int32 Leading()
function Leading : integer
Sets the character leading.
Set_Bold
void Set_Bold( bool Value )
procedure Set_Bold( Value : boolean )
Turns bolding on or off.
Set_Bold_Amount
void Set_Bold_Amount( int32 Value )
procedure Set_Bold_Amount( Value : integer )
Sets amount of bolding.
Set_Color
void Set_Color( int Value )
procedure Set_Color( Value : TColor )
Sets the character color.
Set_Font
void Set_Font( int Value )
procedure Set_Font( Value : TFont )
Sets the font for the character.
Set_Italic
void Set_Italic( bool Value )
procedure Set_Italic( Value : boolean )
Turns italic on or off.
Set_Italic_Amount
void Set_Italic_Amount( int32 Value )
procedure Set_Italic_Amount( Value : integer )
Sets the amount of italicization.
Set_Size
void Set_Size( int32 Value )
procedure Set_Size( Value : integer )
Sets the character color.
Set_Value
void Set_Value( string Value )
procedure Set_Value( Value : string )
Sets the character value.
Size
int Size()
property Size : integer read Get_Size write Set_Size
Access to the character size.
Value
string Value()
property Value : string read Get_String write Set_String
Access to the character value.
Width
int32 Width()
function Width : integer
Sets the character width.