# Graphics.IHandler interface

Namespace: [Eto.Drawing](https://eto.picoe.ca/api/namespace/eto.drawing.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
[AutoInitialize(false)]
public interface Graphics.IHandler : Widget.IHandler
```

Platform handler interface for the [Graphics](https://eto.picoe.ca/api/type/eto.drawing.graphics.md) class

## Properties

- [AntiAlias](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/antialias.md): Gets or sets a value indicating that drawing operations will use antialiasing
- [ClipBounds](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/clipbounds.md): Gets the bounds of the clipping region
- [CurrentTransform](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/currenttransform.md): Gets a copy of the current transform.
- [ImageInterpolation](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/imageinterpolation.md): Gets or sets the interpolation mode for drawing images
- [IsRetained](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/isretained.md): Gets a value indicating the graphics sub-system is a retained system (e.g. WPF)
- [PixelOffsetMode](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/pixeloffsetmode.md): Gets or sets the pixel offset mode for draw operations
- [PointsPerPixel](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/pointsperpixel.md): Gets the scale of points to pixels. Multiply by desired pixel size to get point value (e.g. for font sizes)

## Methods

- [Clear](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/clear.md): Resets all pixels in the [Graphics.IHandler.ClipBounds](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/clipbounds.md) region with the specified `brush`
- [CreateFromImage](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/createfromimage.md): Creates the graphics object for drawing on the specified `image`
- [DrawArc](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/drawarc.md): Draws an arc with the specified `pen`
- [DrawEllipse](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/drawellipse.md): Draws an outline of an ellipse with the specified `pen`
- [DrawImage](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/drawimage.md): (3 overloads) Draws the specified `image` in a rectangle
- [DrawLine](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/drawline.md): Draws a line with the specified `pen`
- [DrawLines](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/drawlines.md): Draws a set of lines with the specified `points`
- [DrawPath](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/drawpath.md): Draws the specified `path`
- [DrawPolygon](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/drawpolygon.md): Draws an outline of a polygon with the specified `points`
- [DrawRectangle](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/drawrectangle.md): Draws a rectangle outline
- [DrawText](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/drawtext.md): (2 overloads) Draws text with the specified `font`, `brush` and location
- [FillEllipse](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/fillellipse.md): Fills an ellipse with the specified `brush`
- [FillPath](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/fillpath.md): Fills the specified `path`
- [FillPie](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/fillpie.md): Fills a pie with the specified `brush`
- [FillRectangle](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/fillrectangle.md): Fills a rectangle with the specified `brush`
- [Flush](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/flush.md): Flushes the drawing (for some platforms)
- [MeasureString](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/measurestring.md): Measures the string with the given `font`
- [MultiplyTransform](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/multiplytransform.md): Multiplies the co-ordinate system with the given `matrix`
- [ResetClip](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/resetclip.md): Resets the clip bounds to encompass the entire drawing area
- [RestoreTransform](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/restoretransform.md): Restores the transform state
- [RotateTransform](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/rotatetransform.md): Rotates the co-ordinate system by the given `angle`
- [SaveTransform](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/savetransform.md): Saves the current transform state
- [ScaleTransform](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/scaletransform.md): Scales the co-ordinate system by a factor
- [SetClip](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/setclip.md): (2 overloads) Sets the clip region to the specified `path`
- [TranslateTransform](https://eto.picoe.ca/api/type/eto.drawing.graphics.ihandler/translatetransform.md): Translates the origin of the co-ordinate system by the given offset

## Inherited Members

- From [Widget.IHandler](https://eto.picoe.ca/api/type/eto.widget.ihandler.md): [ID](https://eto.picoe.ca/api/type/eto.widget.ihandler/id.md), [NativeHandle](https://eto.picoe.ca/api/type/eto.widget.ihandler/nativehandle.md), [Widget](https://eto.picoe.ca/api/type/eto.widget.ihandler/widget.md), [HandleEvent](https://eto.picoe.ca/api/type/eto.widget.ihandler/handleevent.md), [Initialize](https://eto.picoe.ca/api/type/eto.widget.ihandler/initialize.md), [UnhandleEvent](https://eto.picoe.ca/api/type/eto.widget.ihandler/unhandleevent.md)
