[Overview][Types][Classes][Index] |
Sets the Font data for the canvas.
Source position: lazcanvas.pas line 149
public procedure TLazCanvas.AssignFontData( |
AFont: TFPCustomFont |
); |
AFont |
|
TFPCustomFont instance with the attributes assigned to the Font for the canvas. |
AssignFontData copies property values in AFont to the Font for class instance, including:
No actions are performed in the method if AFont has not been assigned (contains Nil.
Utilized by LCLIntf.SelectObject and by the RestoreState method. This is needed because calling Assign for the Pen, Brush, or Font properties raises exceptions.
Version 4.0 | Generated 2025-05-03 | Home |