CanvasTextBaseline Enum

The baselines of the texts of a canvas (https://html.spec.whatwg.org/multipage/canvas.html#canvastextbaseline).

public enum CanvasTextBaseline

Fields

NameValueDescription
Top0The top of the em square.
Hanging1The hanging baseline.
Middle2The middle of the em square.
Alphabetic3The alphabetic baseline.
Ideographic4The ideographic-under baseline.
Bottom5The bottom of the em square.