Contents  All Classes  Index A-Z  All Units


TTeeCanvas.AssignFont
TTeeCanvas

procedure AssignFont(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.



Submit your feedback about this page.

Copyright 1995-2007 © by Steema Software. All Rights Reserved.