TeCanvas.TTeeCanvas.AssignFont
 
 
 


TTeeCanvas.AssignFont
TTeeCanvas

procedure AssignFont(Const AFont: TTeeFont);

Unit
TeCanvas

Description

The AssignFont method copies the Font parameter properties into the Canvas.Font object.

Note: It is different calling AssignFont than calling Canvas.Font.Assign( MyFont ) because the AssignFont method does additional tasks, like setting the ( optional ) Font.OutLine pen property and the ( optional ) Font.Shadow color and sizes.

Text displayed after calling AssignFont is drawn using the AFont properties.

See also:

TTeeFont object.
TTeeCanvas.TextOut method.




Send us Help Feedback. Copyright 1995-2024 © by Steema Software. All Rights Reserved.