GlyphBox Struct

The box of the outline of a glyph, in font units, with the y axis up.

public readonly struct GlyphBox : IEquatable<GlyphBox>
Implements

Constructors

NameDescription
GlyphBox(int, int, int, int)The box of the outline of a glyph, in font units, with the y axis up.

GlyphBox(int, int, int, int)

The box of the outline of a glyph, in font units, with the y axis up.

public GlyphBox(int XMin, int YMin, int XMax, int YMax)

Parameters

XMin int
YMin int
XMax int
YMax int

Properties

NameDescription
XMax
XMin
YMax
YMin
public int XMax { get; init; }

Property value

int

No documentation is available.

public int XMin { get; init; }

Property value

int

No documentation is available.

public int YMax { get; init; }

Property value

int

No documentation is available.

public int YMin { get; init; }

Property value

int

No documentation is available.

Methods

NameDescription
Deconstruct(int, int, int, int)
Equals(GlyphBox)
Equals(object)
GetHashCode()
ToString()

Deconstruct(int, int, int, int)

public void Deconstruct(out int XMin, out int YMin, out int XMax, out int YMax)

Parameters

XMin int
YMin int
XMax int
YMax int

No documentation is available.

Equals overloads

Equals(GlyphBox)

public bool Equals(GlyphBox other)
Parameters
other GlyphBox
Returns

bool

No documentation is available.

Equals(object)

public override bool Equals(object obj)
Parameters
obj object
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(GlyphBox, GlyphBox)
operator !=(GlyphBox, GlyphBox)

operator ==(GlyphBox, GlyphBox)

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

Parameters

left GlyphBox
right GlyphBox

Returns

bool

No documentation is available.

operator !=(GlyphBox, GlyphBox)

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

Parameters

left GlyphBox
right GlyphBox

Returns

bool

No documentation is available.