CTFontCollection 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
字体集合是用于枚举字体描述符的标准机制。
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 的副本。 |