--- title: "Structure of the Graphics Interface" ms.date: "03/30/2017" helpviewer_keywords: - "GDI+, using managed interface" - "graphics [Windows Forms], class structure" ms.assetid: 010a1e46-656b-40a1-8d5d-87aa05ee1243 --- # Structure of the Graphics Interface The managed class interface to GDI+ contains about 60 classes, 50 enumerations, and 8 structures. The class is at the core of GDI+ functionality; it is the class that actually draws lines, curves, figures, images, and text. ## Important Classes Many classes work together with the class. For example, the method receives a object, which holds attributes (color, width, dash style, and the like) of the line to be drawn. The method can receive a pointer to a object, which works with the object to fill a rectangle with a gradually changing color. and objects influence the way a object draws text. A object stores and manipulates the world transformation of a object, which is used to rotate, scale, and flip images. GDI+ provides several structures (for example, , , and ) for organizing graphics data. Also, certain classes serve primarily as structured data types. For example, the class is a helper for the class, and the class is a helper for the class. GDI+ defines several enumerations, which are collections of related constants. For example, the enumeration contains the elements , , and , which specify styles that can be used to join two lines. ## See also - [Graphics Overview](graphics-overview-windows-forms.md) - [About GDI+ Managed Code](about-gdi-managed-code.md) - [Using Managed Graphics Classes](using-managed-graphics-classes.md)