CTFontCollection 类

定义

字体集合是用于枚举字体描述符的标准机制。

public class CTFontCollection : IDisposable, ObjCRuntime.INativeObject
type CTFontCollection = class
    interface INativeObject
    interface IDisposable
继承
CTFontCollection
实现

构造函数

CTFontCollection(CTFontCollectionOptions)

创建包含所有可用字体描述符的 CTFontCollection。

CTFontCollection(CTFontDescriptor[], CTFontCollectionOptions)

从指定的 queryDescriptors 集创建 CTFontCollection。

属性

Handle

处理指向非托管对象表示形式的 (指针) 。

方法

Dispose()

释放 CTFontCollection 对象使用的资源。

Dispose(Boolean)

释放 CTFontCollection 对象使用的资源。

Finalize()

CTFontCollection 对象的终结器

GetMatchingFontDescriptors()

从此集合中获取数学字体描述符。

GetMatchingFontDescriptors(Comparison<CTFontDescriptor>)

获取按指定的排序函数排序的字体描述符数组。

GetMatchingFontDescriptors(CTFontCollectionOptions)

返回具有指定选项的字体描述符数组。

WithFontDescriptors(CTFontDescriptor[], CTFontCollectionOptions)

在添加指定的字体描述符时创建 CTFontCollection 的副本。

适用于