Instance Property

queryDescriptors

An array of font descriptors whose matching results produce the collection’s matching descriptors.

Declaration

@property(readonly, copy) NSArray<NSFontDescriptor *> *queryDescriptors;

Discussion

The font descriptors matching exclusionDescriptors are removed from matchingDescriptors

See Also

Font Collection Descriptor Matching

matchingDescriptors

An array of font descriptors matching the logical descriptors.

- matchingDescriptorsForFamily:

Returns an array of font descriptors matching the logical descriptors for the given font family.

- matchingDescriptorsForFamily:options:

Returns an array of font descriptors matching the logical descriptors for the given font family and options.

- matchingDescriptorsWithOptions:

Returns an array of font descriptors matching the logical descriptors with the given options.

NSFontCollectionMatchingOptionKey

These constants are used by the matchingDescriptorsWithOptions: and matchingDescriptorsForFamily:options: options dictionary parameters.

exclusionDescriptors

A list of query font descriptors whose matching results are excluded from the list of matching descriptors.