Mono Class Library: System.Drawing Namespace

System.Drawing.Graphics Class

Provides operations for rendering graphics on images.

See Also: Graphics Members

System.Object
     System.MarshalByRefObject
          System.Drawing.Graphics

public sealed class Graphics : MarshalByRefObject, IDeviceContext

Remarks

The Graphics object provides a comprehensive API for drawing lines, curves, images into images.

Graphics objects are created by calling one of the factory methods:

Note:

There is an internal routine that can be invoked through reflection to create a Graphics context from an X11 Drawable, the method is Graphics.FromXDrawable (IntPtr drawable, IntPtr display). It is not documented in Monodoc as it is not part of the public API, the first parameter is a pointer to an X11 Drawable, the second to its X11 Display.

Requirements

Namespace: System.Drawing
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0