Edit

Share via


GlyphPosition Struct

Definition

Represents the position of a glyph, relative to the current point.

public struct GlyphPosition : IEquatable<HarfBuzzSharp.GlyphPosition>
Inheritance
GlyphPosition
Implements

Properties

Name Description
XAdvance

Gets or sets how much the line advances after drawing this glyph when setting text in horizontal direction.

XOffset

Gets or sets how much the glyph moves horizontally before drawing it.

YAdvance

Gets or sets how much the line advances after drawing this glyph when setting text in vertical direction.

YOffset

Gets or sets how much the glyph moves vertically before drawing it.

Methods

Name Description
Equals(GlyphPosition)

Determines whether the specified GlyphPosition is equal to this instance.

Equals(Object)

Determines whether the specified object is equal to this instance.

GetHashCode()

Returns the hash code for this instance.

Operators

Name Description
Equality(GlyphPosition, GlyphPosition)

Determines whether two specified GlyphPosition objects are equal.

Inequality(GlyphPosition, GlyphPosition)

Determines whether two specified GlyphPosition objects are not equal.

Applies to