TCanvas.Font property
Contains the Font used to render text on the drawing surface.
Declaration
property Font: TFont read FLazFont write SetLazFont;Description
Font is a
TFont property which contains the font used
to render text on the drawing surface. Values in Font determine the
formatting / layout applied in methods that render text, like
TextOut and
TextRect. Setting a new value in Font calls
the Assign method in the class instance to store the new values. Property
values in Font can also be modified directly to use the desired values.
The values assigned in Font are used in methods that calculate the size for
text like TextExtent, TextHeight, TextWidth,
and TextFitInfo.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
