RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TGraphicsObject Class

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

Pascal
TGraphicsObject = class(TPersistent);
C++
class TGraphicsObject : public TPersistent;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!