Table of Contents

TTMSFNCGraphicsFont Class

Framework-neutral font class used by TTMSFNCGraphics. Extends the platform TFont with batch-update support and a unified Color property across all frameworks.

API unit family: TMSFNCGraphicsTypes Inherits from: TFont

Syntax

TTMSFNCGraphicsFont = class(TFont)

Properties

Name Description
Color Font color. Default is gcBlack.
Height Font height in pixels. Available on FMX targets only.
Name Font family name. Stored only when explicitly set.

Methods

Name Description
AssignSource Copies font settings from Source into this font without triggering change notifications.
BeginUpdate Begins a batch update; suppresses change notifications until EndUpdate is called.
EndUpdate Ends a batch update and fires any pending change notification.

Events

Name Description
OnChanged Fired whenever a font property changes.

Used by