ShapingFeature Struct
A feature of the OpenType Layout tables to apply to a run, with its value: 0 turns it off, 1 turns it on, a larger value selects an alternate. A feature applies to the whole run, or to the characters of a range.
public readonly struct ShapingFeature : IEquatable<ShapingFeature>- Implements
Constructors
| Name | Description |
|---|---|
| ShapingFeature(string, int) | Initializes a feature for the whole run from the four characters of its tag. |
| ShapingFeature(uint, int, int, int) | A feature of the OpenType Layout tables to apply to a run, with its value: 0 turns it off, 1 turns it on, a larger value selects an alternate. A feature applies to the whole run, or to the characters of a range. |
ShapingFeature overloads
ShapingFeature(string, int)
ShapingFeature.csShapingFeature(uint, int, int, int)
A feature of the OpenType Layout tables to apply to a run, with its value: 0 turns it off, 1 turns it on, a larger value selects an alternate. A feature applies to the whole run, or to the characters of a range.
Properties
| Name | Description |
|---|---|
| End | The cluster after the last character the value is for. |
| IsGlobal | Gets a value indicating whether the value is for the whole run. |
| Start | The cluster of the first character the value is for. |
| Tag | The tag of the feature. |
| Value | The value of the feature. |
IsGlobal
ShapingFeature.csStart
ShapingFeature.csValue
ShapingFeature.csMethods
| Name | Description |
|---|---|
| Deconstruct(uint, int, int, int) | |
| Equals(ShapingFeature) | |
| Equals(object) | |
| GetHashCode() | |
| ToString() | |
| ToTag(string) | Converts the four characters of a tag to its value. |
Deconstruct(uint, int, int, int)
Equals overloads
Equals(ShapingFeature)
public bool Equals(ShapingFeature other)No documentation is available.
Equals(object)
GetHashCode()
ToString()
ToTag(string)
ShapingFeature.csOperators
| Name | Description |
|---|---|
| operator ==(ShapingFeature, ShapingFeature) | |
| operator !=(ShapingFeature, ShapingFeature) |
operator ==(ShapingFeature, ShapingFeature)
public static bool operator ==(ShapingFeature left, ShapingFeature right)No documentation is available.
operator !=(ShapingFeature, ShapingFeature)
public static bool operator !=(ShapingFeature left, ShapingFeature right)No documentation is available.