Class TypeMetric
- Namespace
- ImageMagick
- Assembly
- Magick.NET-Q16-AnyCPU.dll
Used to obtain font metrics for text string given current font, pointsize, and density settings.
public sealed class TypeMetric : ITypeMetric
- Inheritance
-
TypeMetric
- Implements
-
ITypeMetric
- Inherited Members
Properties
Ascent
Gets the ascent, the distance in pixels from the text baseline to the highest/upper grid coordinate used to place an outline point.
public double Ascent { get; }
Property Value
Descent
Gets the descent, the distance in pixels from the baseline to the lowest grid coordinate used to place an outline point. Always a negative value.
public double Descent { get; }
Property Value
MaxHorizontalAdvance
Gets the maximum horizontal advance in pixels.
public double MaxHorizontalAdvance { get; }
Property Value
TextHeight
Gets the text height in pixels.
public double TextHeight { get; }
Property Value
TextWidth
Gets the text width in pixels.
public double TextWidth { get; }
Property Value
UnderlinePosition
Gets the underline position.
public double UnderlinePosition { get; }
Property Value
UnderlineThickness
Gets the underline thickness.
public double UnderlineThickness { get; }