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.