Methods | This Package | All Packages
Encapsulates a Win32 device context (DC) and the drawing operations that are typically performed on a DC.
package com.ms.wfc.ui
public class Graphics
Remarks
These operations include the drawing of standard shapes, such as pies and arcs, as well as the drawing of Windows controls, such as buttons and check boxes. The Graphics object automatically performs garbage collection, freeing the resources allocated for various drawing objects. In addition, you can call the object's dispose method to enforce the cleanup of these resources. A Graphics object that is connected to a Windows control is valid only for the duration of the current event or message. For example, if a control processes its paint event, the Graphics object that is passed as a parameter to paint is valid only until paint returns.