The namespace provides access to GDI+ basic graphics functionality. More advanced functionality is provided in the , , and namespaces. The class provides methods for drawing to the display device. Classes such as and encapsulate GDI+ primitives. The class is used to draw lines and curves, while classes derived from the abstract class are used to fill the interiors of shapes. Classes within the namespace are not supported for use within a Windows or ASP.NET service. Attempting to use these classes from within one of these application types may produce unexpected problems, such as diminished service performance and run-time exceptions. For a supported alternative, see Windows Imaging Components.