ClearTypeHint ClearTypeHint ClearTypeHint ClearTypeHint Enum

定义

一个枚举,它向呈现引擎提示,可以用 ClearType 呈现文本。An enumeration that specifies a hint to the rendering engine that text can be rendered with ClearType.

public enum class ClearTypeHint
public enum ClearTypeHint
type ClearTypeHint = 
Public Enum ClearTypeHint
继承
ClearTypeHintClearTypeHintClearTypeHintClearTypeHint

字段

Auto Auto Auto Auto 0

只要有可能,呈现引擎就会使用 ClearType。The rendering engine uses ClearType when it is possible. 如果引入了不透明度,则对于该子树禁用 ClearType。If opacity is introduced, ClearType is disabled for that subtree.

Enabled Enabled Enabled Enabled 1

呈现引擎对当前子树重新启用 ClearType。The rendering engine re-enables ClearType for the current subtree. 在此子树中引入不透明度的地方禁用 ClearType。Where opacity is introduced in this subtree, ClearType is disabled.

注解

使用 " RenderOptions.ClearTypeHint附加" 属性可控制文本在半透明背景上的呈现方式。Use the RenderOptions.ClearTypeHint attached property to control how text is rendered on a translucent background. 有关详细信息,请参阅 RenderOptions.ClearTypeHintFor more information, see RenderOptions.ClearTypeHint.

适用于

另请参阅