Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_Backends🞂IFontSupportInterface

IFontSupport

Interface for surface backends providing font object access and font change notification management.

Declaration ​

pascal
IFontSupport = interface(IUnknown)

Description ​

IFontSupport provides access to a TFont object owned by the backend, allowing callers to configure typeface, size, style, and color, and subscribe to font modification events.

Properties ​

PropertyTypeAccessDescription
FontTFontRead/WriteActive font instance used for backend text operations.
OnFontChangeTNotifyEventRead/WriteEvent handler triggered whenever font properties are modified.

Methods ​

  • function GetFont: TFont;
  • procedure SetFont(const Font: TFont);
  • function GetOnFontChange: TNotifyEvent;
  • procedure SetOnFontChange(Handler: TNotifyEvent);
  • procedure UpdateFont;