PixelOffsetMode Enumeration

PixelOffsetMode Enumeration

 

Specifies how pixels are offset during rendering.

Namespace:   System.Drawing.Drawing2D
Assembly:  System.Drawing (in System.Drawing.dll)

public enum PixelOffsetMode

Member nameDescription
Default

Specifies the default mode.

Half

Specifies that pixels are offset by -.5 units, both horizontally and vertically, for high speed antialiasing.

HighQuality

Specifies high quality, low speed rendering.

HighSpeed

Specifies high speed, low quality rendering.

Invalid

Specifies an invalid mode.

None

Specifies no pixel offset.

By offsetting pixels during rendering, you can improve render quality at the cost of render speed.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft