Skip to main content

Struct LabelMetrics

Namespace: VelloSharp.Composition
Assembly: VelloSharp.Composition.dll

public readonly record struct LabelMetrics : IEquatable<LabelMetrics>

Implements​

IEquatable<LabelMetrics>

Inherited Members​

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors​

LabelMetrics(float, float, float)​

public LabelMetrics(float Width, float Height, float Ascent)

Parameters​

Width float

Height float

Ascent float

Properties​

Ascent​

public float Ascent { get; init; }

Property Value​

float

Height​

public float Height { get; init; }

Property Value​

float

IsEmpty​

public bool IsEmpty { get; }

Property Value​

bool

Width​

public float Width { get; init; }

Property Value​

float