PeachDrawing.Core

PeachDrawing.Core.Font

Font.TextBaselineOffset Property

The exact offset from DrawString’s top anchor to the baseline it paints at. Layout uses Ascent, which some adapters round for stable box geometry; paint effects that must sit a precise distance from the rendered glyphs use this unrounded counterpart instead.

public virtual double TextBaselineOffset { get; }

Property Value

System.Double