iOS Guides | Samples

CoreGraphics.CGContext.SetAllowsSubpixelPositioning Method

Whether the context allows for glyphs to be aligned other than to pixel boundaries.

Syntax

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, null)]
public Void SetAllowsSubpixelPositioning (Boolean allows)

Parameters

allows
true if glyphs need not be aligned to pixel boundaries.

Remarks

This property works in conjunction with CGContext.SetShouldSubpixelsPositionFonts. Only if both values are true will glyphs not be aligned to pixel boundaries.

Requirements

Namespace: CoreGraphics
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0