[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

TFontStyle

Represents styles or variants for a font.

Declaration

Source position: graphics.pp line 88

type TFontStyle = (

  fsBold,

  

Bold font style.

  fsItalic,

  

Italic font style.

  fsUnderline,

  

Underline font style.

  fsStrikeOut

  

Strike-out (or strike-through) font style.

);

Description

TFontStyle is an enumerated type with values used to represent styles or variants for a typeface. Value(s) from TFontStyle are stored in the TFontStyles and TFontStylesBase set types, and used to implement the Style member in TFontData and the Style property in TFont.

Version info

Modified in LCL 3.0 to be an alias to TFontStyle in System.UITypes for FPC 3.3.0 or higher.

See also

TFont.Style

  

Styles applied to the font face.

TFontStyles

  

Set type used to store TFontStyle value(s).

TFontData

  

Contains information about a font used in an application.


Version 3.2 Generated 2024-02-25 Home