Table of Contents

Property Subpixel

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Subpixel

Gets or sets default value for Subpixel which is used when font is converted to SKFont.

public bool Subpixel { get; set; }

Property Value

bool

Remarks

It allows to control whether glyph positioning uses subpixel precision — meaning characters can be placed at fractional pixel coordinates rather than whole integers. When it is true, SkiaSharp allows glyphs to be positioned with greater accuracy, especially useful for: small font sizes, high-DPI displays, precise text layout. This improves horizontal alignment and spacing, making text appear smoother and more natural.