PixelOffsetMode 枚举

定义

指定在呈现期间像素偏移的方式。Specifies how pixels are offset during rendering.

public enum class PixelOffsetMode
public enum PixelOffsetMode
type PixelOffsetMode = 
Public Enum PixelOffsetMode
继承
PixelOffsetMode

字段

Default 0

指定默认模式。Specifies the default mode.

Half 4

指定像素在水平和垂直距离上均偏移 -.5 个单位,以进行高速锯齿消除。Specifies that pixels are offset by -.5 units, both horizontally and vertically, for high speed antialiasing.

HighQuality 2

指定高质量、低速度呈现。Specifies high quality, low speed rendering.

HighSpeed 1

指定高速度、低质量呈现。Specifies high speed, low quality rendering.

Invalid -1

指定无效模式。Specifies an invalid mode.

None 3

指定没有任何像素偏移。Specifies no pixel offset.

注解

通过在呈现期间偏移像素, 可以以呈现速度的成本提高呈现质量。By offsetting pixels during rendering, you can improve render quality at the cost of render speed.

适用于