Share via


CGContext.SetAllowsFontSmoothing(Boolean) 方法

定义

上下文是否允许字体平滑。

public void SetAllowsFontSmoothing (bool allows);
member this.SetAllowsFontSmoothing : bool -> unit

参数

allows
Boolean

true 如果应允许字体平滑,则为 。

注解

此属性与 SetShouldSmoothFonts(Boolean)结合使用。 仅当两个值都为 时 true ,才会进行字体平滑处理。

适用于