PeachDrawing.Text
PeachDrawing.Text.Layout
VerticalAlign Enum
How an inline box sits on the line vertically (CSS vertical-align).
public enum VerticalAlign
Fields
Baseline 0
The box’s baseline (see Baseline) is on the baseline of the text around it.
Middle 1
The middle of the box is at the height of half the x-height of the text around it above its baseline.
TextTop 2
The top of the box is level with the top of the text around it (its ascent).
TextBottom 3
The bottom of the box is level with the bottom of the text around it (its descent).
Top 4
The top of the box is at the top of the line, which grows downward if the box is taller than it.
Bottom 5
The bottom of the box is at the bottom of the line, which grows upward if the box is taller than it.