OpenTypeVarAxisInfo 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 extended information about a variation axis in a variable font.
public struct OpenTypeVarAxisInfo : IEquatable<HarfBuzzSharp.OpenTypeVarAxisInfo>
- Inheritance
-
OpenTypeVarAxisInfo
- Implements
Remarks
This structure provides detailed information about a font variation axis, including its range, default value, and flags.
Properties
| Name | Description |
|---|---|
| AxisIndex |
Gets or sets the index of the axis in the font's variation axis array. |
| DefaultValue |
Gets or sets the default value for this axis. |
| Flags |
Gets or sets the axis flags. |
| MaxValue |
Gets or sets the maximum value for this axis. |
| MinValue |
Gets or sets the minimum value for this axis. |
| NameId |
Gets or sets the name identifier for the axis name in the font's name table. |
| Tag |
Gets or sets the four-character tag identifying the axis (for example, 'wght' for weight). |
Methods
| Name | Description |
|---|---|
| Equals(Object) |
Determines whether the specified object is equal to the current instance. |
| Equals(OpenTypeVarAxisInfo) |
Determines whether the specified OpenTypeVarAxisInfo is equal to the current instance. |
| GetHashCode() |
Returns a hash code for this instance. |
Operators
| Name | Description |
|---|---|
| Equality(OpenTypeVarAxisInfo, OpenTypeVarAxisInfo) |
Determines whether two OpenTypeVarAxisInfo structures are equal. |
| Inequality(OpenTypeVarAxisInfo, OpenTypeVarAxisInfo) |
Determines whether two OpenTypeVarAxisInfo structures are not equal. |