# PixelOffsetMode enum

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

```cs
public enum PixelOffsetMode
```

Enumeration of the pixel offset modes of a [Graphics](https://eto.picoe.ca/api/type/eto.drawing.graphics.md)

**Remarks:** The pixel offset mode applies to all Draw* and Fill* graphics operations such as [Graphics.DrawLine(Pen, PointF, PointF)](https://eto.picoe.ca/api/type/eto.drawing.graphics/drawline.md), [Graphics.DrawRectangle(Pen, RectangleF)](https://eto.picoe.ca/api/type/eto.drawing.graphics/drawrectangle.md), etc.

## Values

| Name | Value | Description |
| --- | --- | --- |
| None | 0 | Specifies that pixels will not be offset and be relative to the center of each pixel. |
| Half | 1 | Specifies that pixels are offset by half a pixel (-0.5) in both the horizontal and vertical axes. Use for high speed. |
| Aligned | 2 | Similar to None, specifies that pixels will be relative to the center of each pixel, but only for line drawing. |
