TextRenderingMode 枚举
定义
为文本定义支持的呈现模式。Defines the supported rendering modes for text.
public enum class TextRenderingMode
public enum TextRenderingMode
type TextRenderingMode =
Public Enum TextRenderingMode
- 继承
字段
Aliased | 1 | 使用双层抗锯齿功能呈现文本。Text is rendered with bilevel anti-aliasing. |
Auto | 0 | 根据用于设置文本格式的布局模式,使用最合适的呈现算法呈现文本。Text is rendered with the most appropriate rendering algorithm based on the layout mode that was used to format the text. |
ClearType | 3 | 根据用于设置文本格式的布局模式,使用最合适的 ClearType 呈现算法呈现文本。Text is rendered with the most appropriate ClearType rendering algorithm based on the layout mode that was used to format the text. |
Grayscale | 2 | 使用灰度抗锯齿功能呈现文本。Text is rendered with grayscale anti-aliasing. |
注解
灰度抗锯齿算法选择适当的 ClearType 算法, 以获取标志符号的位图表示形式。The Grayscale anti-aliasing algorithm chooses the appropriate ClearType algorithm to get bitmap representations for the glyphs. 呈现文本的像素的红色、绿色和蓝色通道的强度是该标志符号位图表示形式的相应像素中绿色通道的值。The intensity of the red, green, and blue channels of a pixel of rendered text is the value of the green channel in the corresponding pixel of the bitmap representation of the glyph.