CGContext.SetAllowsFontSubpixelQuantization(Boolean) Method

Definition

Whether the context allows for glyphs to be drawn at subpixel locations.

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

Parameters

allows
Boolean

true if subpixel quantization should be allowed

Remarks

This property works in conjunction with ShouldSubpixelQuantizeFonts(Boolean), SetAllowsSubpixelPositioning(Boolean), and SetShouldSubpixelPositionFonts(Boolean). Only if all these values are true will subpixel quantization be allowed.

Applies to