OpenTypeVarAxis 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 a variation axis in a variable font.
public struct OpenTypeVarAxis : IEquatable<HarfBuzzSharp.OpenTypeVarAxis>
- Inheritance
-
OpenTypeVarAxis
- Implements
Remarks
This structure contains information about a font variation axis, including its valid range and default value.
Properties
| Name | Description |
|---|---|
| DefaultValue |
Gets or sets the default value for this axis. |
| 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(OpenTypeVarAxis) |
Determines whether the specified OpenTypeVarAxis is equal to the current instance. |
| GetHashCode() |
Returns a hash code for this instance. |
Operators
| Name | Description |
|---|---|
| Equality(OpenTypeVarAxis, OpenTypeVarAxis) |
Determines whether two OpenTypeVarAxis structures are equal. |
| Inequality(OpenTypeVarAxis, OpenTypeVarAxis) |
Determines whether two OpenTypeVarAxis structures are not equal. |