DelphiVCL.Graphic or TGraphic is the abstract base class type for objects such as icons, bitmaps, and metafiles that can store and display visual images.
DelphiVCL.Graphic is an abstract class that cannot be instantiated. Descendant graphics objects override many of the methods of DelphiVCL.Graphic to address the needs of their particular file format and graphical characteristics. DelphiVCL.Graphic also introduces methods that work with Picture objects and the Clipboard. Properties of DelphiVCL.Graphic provides 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 Picture object that can hold any type of DelphiVCL.Graphic.
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Graphic using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Graphic) |
See the responses in our Windows command prompt:
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.