Skip to main content

Struct ParleyFontInfo

Namespace: VelloSharp.Text
Assembly: VelloSharp.Text.dll

public readonly record struct ParleyFontInfo : IEquatable<ParleyFontInfo>

Implements​

IEquatable<ParleyFontInfo>

Inherited Members​

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

Constructors​

ParleyFontInfo(string, byte[], uint, float, float, VelloFontStyle, bool)​

public ParleyFontInfo(string FamilyName, byte[] FontData, uint FaceIndex, float Weight, float Stretch, VelloFontStyle Style, bool IsMonospace)

Parameters​

FamilyName string

FontData byte[]

FaceIndex uint

Weight float

Stretch float

Style VelloFontStyle

IsMonospace bool

Properties​

FaceIndex​

public uint FaceIndex { get; init; }

Property Value​

uint

FamilyName​

public string FamilyName { get; init; }

Property Value​

string

FontData​

public byte[] FontData { get; init; }

Property Value​

byte[]

IsMonospace​

public bool IsMonospace { get; init; }

Property Value​

bool

Stretch​

public float Stretch { get; init; }

Property Value​

float

Style​

public VelloFontStyle Style { get; init; }

Property Value​

VelloFontStyle

Weight​

public float Weight { get; init; }

Property Value​

float