Table of Contents

Struct GlyphRunMetrics

Namespace
Avalonia.Media
Assembly
Avalonia.Base.dll
public readonly struct GlyphRunMetrics : IEquatable<GlyphRunMetrics>
Implements
Inherited Members

Properties

Baseline

public double Baseline { get; init; }

Property Value

double

FirstCluster

public int FirstCluster { get; init; }

Property Value

int

Height

public double Height { get; init; }

Property Value

double

LastCluster

public int LastCluster { get; init; }

Property Value

int

NewLineLength

public int NewLineLength { get; init; }

Property Value

int

TrailingWhitespaceLength

public int TrailingWhitespaceLength { get; init; }

Property Value

int

Width

public double Width { get; init; }

Property Value

double

WidthIncludingTrailingWhitespace

public double WidthIncludingTrailingWhitespace { get; init; }

Property Value

double

Methods

Equals(GlyphRunMetrics)

public bool Equals(GlyphRunMetrics other)

Parameters

other GlyphRunMetrics

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(GlyphRunMetrics, GlyphRunMetrics)

public static bool operator ==(GlyphRunMetrics left, GlyphRunMetrics right)

Parameters

left GlyphRunMetrics
right GlyphRunMetrics

Returns

bool

operator !=(GlyphRunMetrics, GlyphRunMetrics)

public static bool operator !=(GlyphRunMetrics left, GlyphRunMetrics right)

Parameters

left GlyphRunMetrics
right GlyphRunMetrics

Returns

bool