Struct SKFontMetrics
Namespace: SkiaSharp
Assembly: VelloSharp.Skia.Core.dll
public readonly struct SKFontMetrics
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
SKFontMetrics(float, float, float, float, float, float, float, float, float, float, float, float?, float?, float?, float?)
public SKFontMetrics(float top, float ascent, float descent, float bottom, float leading, float averageCharacterWidth, float maxCharacterWidth, float xMin, float xMax, float xHeight, float capHeight, float? underlinePosition, float? underlineThickness, float? strikeoutPosition, float? strikeoutThickness)
Parameters
top float
ascent float
descent float
bottom float
leading float
averageCharacterWidth float
maxCharacterWidth float
xMin float
xMax float
xHeight float
capHeight float
underlinePosition float?
underlineThickness float?
strikeoutPosition float?
strikeoutThickness float?
Properties
Ascent
public float Ascent { get; }
Property Value
AverageCharacterWidth
public float AverageCharacterWidth { get; }
Property Value
Bottom
public float Bottom { get; }
Property Value
CapHeight
public float CapHeight { get; }
Property Value
Descent
public float Descent { get; }
Property Value
Empty
public static SKFontMetrics Empty { get; }
Property Value
Leading
public float Leading { get; }
Property Value
MaxCharacterWidth
public float MaxCharacterWidth { get; }
Property Value
StrikeoutPosition
public float? StrikeoutPosition { get; }
Property Value
StrikeoutThickness
public float? StrikeoutThickness { get; }
Property Value
Top
public float Top { get; }
Property Value
UnderlinePosition
public float? UnderlinePosition { get; }
Property Value
UnderlineThickness
public float? UnderlineThickness { get; }
Property Value
XHeight
public float XHeight { get; }
Property Value
XMax
public float XMax { get; }
Property Value
XMin
public float XMin { get; }