Vcl.Graphics.TGraphic

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TInterfacedPersistentSystem.Classes.TPersistentSystem.TObjectTGraphic

Delphi

TGraphic = class(TInterfacedPersistent, IStreamPersist)

C++

class PASCALIMPLEMENTATION TGraphic : public System::Classes::TInterfacedPersistent

Properties

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

Description

TGraphic is the abstract base class type for objects such as icons, bitmaps, and metafiles that can store and display visual images.

TGraphic is an abstract class that cannot be instantiated. Descendant graphics objects override many of the methods of TGraphic to address the needs of their particular file format and graphical characteristics. TGraphic also introduces methods that work with TPicture objects and the Clipboard. Properties of TGraphic provide information about the state and size of the graphic image.

When the type of graphic is known, store the graphic in its specific type object. Otherwise, use a TPicture object that can hold any type of TGraphic.

See Also