API:Vcl.Graphics.TFont

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.Graphics.TGraphicsObjectSystem.Classes.TPersistentSystem.TObjectTFont

Delphi

TFont = class(TGraphicsObject)

C++

class PASCALIMPLEMENTATION TFont : public TGraphicsObject

Properties

Type Visibility Source Unit Parent
class public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics Vcl.Graphics

Description

TGraphicsObject is the abstract base class for objects which encapsulate a system graphics object: TBrush, TFont, and TPen.

Vcl.Graphics.TFont inherits from Vcl.Graphics.TGraphicsObject. All content below this line refers to Vcl.Graphics.TGraphicsObject.

TGraphicsObject is the abstract base class for objects which encapsulate a system graphics object: TBrush, TFont, and TPen.

Create descendants of TGraphicsObject when drawing an image to a canvas (TCanvas). Each TGraphicsObject object describes a system graphics object that is selected into the device context of the canvas.

TGraphicsObject introduces a mechanism for responding to changes in the properties of the graphics object.

See Also