Instance Method
replaceFeature(at:with:) replaceObjectInFeaturesAtIndex:withObject: replaceObjectInFeaturesAtIndex_withObject_
Replaces the layout feature at an index.
Declaration
func replaceFeature(at idx: UInt, with feature: GSFeature)Declaration
- (void) replaceObjectInFeaturesAtIndex:(NSUInteger) idx withObject:(GSFeature *) feature;Declaration
replaceObjectInFeaturesAtIndex_withObject_(idx: int, feature: GSFeature)See Also
Layout Features
Layout features used when compiling OpenType feature code.
Number of layout features.
Layout feature at an index, or
nilwhen the index is out of range.The index of a layout feature, or
nilwhen the feature is not in the font.Returns the first layout feature with a tag.
Returns the first enabled layout feature with a tag.
Returns the first automatic layout feature with a tag.
Returns the first automatic layout feature with a tag.
Adds a layout feature.
Inserts a layout feature at an index.
Removes a layout feature.
Removes the layout feature at an index.
Updates automatic layout features and classes.
Imports OpenType feature code into the font.
See Also
Layout Features
Layout features used when compiling OpenType feature code.
Number of layout features.
Layout feature at an index, or
nilwhen the index is out of range.Index of a layout feature, or
NSNotFoundwhen the feature is not in the font.Returns the first layout feature with a tag.
Returns the first enabled layout feature with a tag.
Returns the first automatic layout feature with a tag.
Returns the first automatic layout feature with a tag.
Adds a layout feature.
Inserts a layout feature at an index.
Removes a layout feature.
Removes the layout feature at an index.
Updates automatic layout features and classes.
Imports OpenType feature code into the font.