Vcl.Graphics.TGraphicsObject

From RAD Studio API Documentation

TGraphicsObjectSystem.Classes.TPersistentSystem.TObject

Delphi

TGraphicsObject = class(TPersistent)

C++

class PASCALIMPLEMENTATION TGraphicsObject : public System::Classes::TPersistent

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.

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