GlyphPosition Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |