CTFontDescriptor.WithFeature Method

Definition

Overloads

WithFeature(CTFontFeatureLinguisticRearrangementConnection+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureLowerCase+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureMathematicalExtras+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureNumberCase+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureNumberSpacing+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureOrnamentSets+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureOverlappingCharacters+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureRubyKana+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureSmartSwash+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureStylisticAlternatives+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureTextSpacing+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureTransliteration+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureTypographicExtras+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureUnicodeDecomposition+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureUpperCase+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureVerticalPosition+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureStyleOptions+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureLigatures+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureContextualAlternates+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureItalicCJKRoman+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureAllTypographicFeatures+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureAlternateKana+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureAnnotation+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureCaseSensitiveLayout+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureCharacterAlternatives+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureCharacterShape+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureCJKRomanSpacing+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureKanaSpacing+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureCJKSymbolAlternatives+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureVerticalSubstitutionConnection+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureCursiveConnection+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureDesignComplexity+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureDiacritics+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureFractions+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureIdeographicAlternatives+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureIdeographicSpacing+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureCJKVerticalRomanPlacement+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

WithFeature(CTFontFeatureLinguisticRearrangementConnection+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureLinguisticRearrangementConnection.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureLinguisticRearrangementConnection.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureLinguisticRearrangementConnection.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureLowerCase+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureLowerCase.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureLowerCase.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureLowerCase.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureMathematicalExtras+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureMathematicalExtras.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureMathematicalExtras.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureMathematicalExtras.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureNumberCase+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureNumberCase.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureNumberCase.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureNumberCase.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureNumberSpacing+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureNumberSpacing.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureNumberSpacing.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureNumberSpacing.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureOrnamentSets+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureOrnamentSets.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureOrnamentSets.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureOrnamentSets.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureOverlappingCharacters+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureOverlappingCharacters.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureOverlappingCharacters.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureOverlappingCharacters.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureRubyKana+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureRubyKana.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureRubyKana.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureRubyKana.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureSmartSwash+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureSmartSwash.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureSmartSwash.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureSmartSwash.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureStylisticAlternatives+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureStylisticAlternatives.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureStylisticAlternatives.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureStylisticAlternatives.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureTextSpacing+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureTextSpacing.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureTextSpacing.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureTextSpacing.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureTransliteration+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureTransliteration.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureTransliteration.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureTransliteration.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureTypographicExtras+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureTypographicExtras.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureTypographicExtras.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureTypographicExtras.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureUnicodeDecomposition+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureUnicodeDecomposition.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureUnicodeDecomposition.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureUnicodeDecomposition.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureUpperCase+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureUpperCase.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureUpperCase.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureUpperCase.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureVerticalPosition+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureVerticalPosition.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureVerticalPosition.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureVerticalPosition.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureStyleOptions+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureStyleOptions.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureStyleOptions.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureStyleOptions.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureLigatures+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureLigatures.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureLigatures.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureLigatures.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureContextualAlternates+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureContextualAlternates.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureContextualAlternates.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureContextualAlternates.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureItalicCJKRoman+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureItalicCJKRoman.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureItalicCJKRoman.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureItalicCJKRoman.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureAllTypographicFeatures+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureAllTypographicFeatures.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureAllTypographicFeatures.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureAllTypographicFeatures.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureAlternateKana+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureAlternateKana.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureAlternateKana.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureAlternateKana.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureAnnotation+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureAnnotation.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureAnnotation.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureAnnotation.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureCaseSensitiveLayout+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureCaseSensitiveLayout.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureCaseSensitiveLayout.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureCaseSensitiveLayout.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureCharacterAlternatives+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureCharacterAlternatives.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureCharacterAlternatives.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureCharacterAlternatives.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureCharacterShape+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureCharacterShape.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureCharacterShape.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureCharacterShape.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureCJKRomanSpacing+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureCJKRomanSpacing.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureCJKRomanSpacing.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureCJKRomanSpacing.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureKanaSpacing+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureKanaSpacing.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureKanaSpacing.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureKanaSpacing.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureCJKSymbolAlternatives+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureCJKSymbolAlternatives.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureCJKSymbolAlternatives.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureCJKSymbolAlternatives.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureVerticalSubstitutionConnection+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureVerticalSubstitutionConnection.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureVerticalSubstitutionConnection.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureVerticalSubstitutionConnection.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureCursiveConnection+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureCursiveConnection.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureCursiveConnection.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureCursiveConnection.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureDesignComplexity+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureDesignComplexity.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureDesignComplexity.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureDesignComplexity.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureDiacritics+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureDiacritics.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureDiacritics.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureDiacritics.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureFractions+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureFractions.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureFractions.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureFractions.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureIdeographicAlternatives+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureIdeographicAlternatives.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureIdeographicAlternatives.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureIdeographicAlternatives.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureIdeographicSpacing+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureIdeographicSpacing.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureIdeographicSpacing.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureIdeographicSpacing.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to

WithFeature(CTFontFeatureCJKVerticalRomanPlacement+Selector)

Creates a font descriptor from this font descriptor, with the specified feature set.

public CoreText.CTFontDescriptor WithFeature (CoreText.CTFontFeatureCJKVerticalRomanPlacement.Selector featureSelector);
member this.WithFeature : CoreText.CTFontFeatureCJKVerticalRomanPlacement.Selector -> CoreText.CTFontDescriptor

Parameters

featureSelector
CTFontFeatureCJKVerticalRomanPlacement.Selector

the feature to create.

Returns

A new CTFontDescriptor representing the specified feature.

Remarks

This is a convenience method that creates new CTFontDescriptors with a single feature altered.

Applies to