Click or drag to resize

PixelOffsetMode Enumeration

Enumeration of the pixel offset modes of a Graphics

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public enum PixelOffsetMode
Members
  Member nameValueDescription
None0 Specifies that pixels will not be offset and be relative to the center of each pixel.
Half1 Specifies that pixels are offset by half a pixel (-0.5) in both the horizontal and vertical axes. Use for high speed.
Remarks
The pixel offset mode applies to all Draw* graphics operations such as DrawLine(Pen, PointF, PointF), DrawRectangle(Pen, RectangleF), etc.
See Also