Feature 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.
Various font features and variations.
public struct Feature : IEquatable<HarfBuzzSharp.Feature>
- Inheritance
-
Feature
- Implements
Constructors
| Name | Description |
|---|---|
| Feature(Tag, UInt32, UInt32, UInt32) |
Initializes a new instance of the Feature struct with the specified tag. |
| Feature(Tag, UInt32) |
Initializes a new instance of the Feature struct with the specified tag. |
| Feature(Tag) |
Initializes a new instance of the Feature struct with the specified tag. |
Properties
| Name | Description |
|---|---|
| End |
Gets or sets the end position of the feature application range. |
| Start |
Gets or sets the start position of the feature application range. |
| Tag |
Gets or sets the tag identifying the feature. |
| Value |
Gets or sets the value of the feature. |
Methods
| Name | Description |
|---|---|
| Equals(Feature) |
Determines whether the specified Feature 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. |
| Parse(String) |
Parses a feature string. |
| ToString() |
Returns the string representation of the feature. |
| TryParse(String, Feature) |
Tries to parse the feature string. |
Operators
| Name | Description |
|---|---|
| Equality(Feature, Feature) |
Determines whether two specified Feature objects are equal. |
| Inequality(Feature, Feature) |
Determines whether two specified Feature objects are not equal. |