CTFontCollection.WithFontDescriptors Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a copy of the CTFontCollection while adding the specified font descriptors.
public CoreText.CTFontCollection WithFontDescriptors (CoreText.CTFontDescriptor[] queryDescriptors, CoreText.CTFontCollectionOptions options);
member this.WithFontDescriptors : CoreText.CTFontDescriptor[] * CoreText.CTFontCollectionOptions -> CoreText.CTFontCollection
Parameters
- queryDescriptors
- CTFontDescriptor[]
The font descriptors to add.
- options
- CTFontCollectionOptions
Configuration options for creating the font collection, can be null.