[]
Initializes a new instance of FontFeature, enabled by default.
public FontFeature(FeatureTag featureTag)
Public Sub New(featureTag As FeatureTag)
| Type | Name | Description |
|---|---|---|
| FeatureTag | featureTag |
Initializes a new instance of FontFeature with a value indicating whether the feature is enable or disabled.
public FontFeature(FeatureTag featureTag, bool enabled)
Public Sub New(featureTag As FeatureTag, enabled As Boolean)
| Type | Name | Description |
|---|---|---|
| FeatureTag | featureTag | |
| bool | enabled |
Initializes a new instance of FontFeature with the specified 1-based position of alternate glyph ID.
public FontFeature(FeatureTag featureTag, int parameter, bool applyLastAlternativeIfNotAvailable = true)
Public Sub New(featureTag As FeatureTag, parameter As Integer, Optional applyLastAlternativeIfNotAvailable As Boolean = True)
| Type | Name | Description |
|---|---|---|
| FeatureTag | featureTag | |
| int | parameter | |
| bool | applyLastAlternativeIfNotAvailable |