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 |
處理 unmanaged 物件標記法) (指標。 |
方法
Dispose() |
釋放 CTFontCollection 物件所使用的資源。 |
Dispose(Boolean) |
釋放 CTFontCollection 物件所使用的資源。 |
Finalize() |
CTFontCollection 物件的完成項 |
GetMatchingFontDescriptors() |
從這個集合取得數學字型描述元。 |
GetMatchingFontDescriptors(Comparison<CTFontDescriptor>) |
取得由指定排序函式排序的字型描述元陣列。 |
GetMatchingFontDescriptors(CTFontCollectionOptions) |
傳回具有指定選項的字型描述元陣列。 |
WithFontDescriptors(CTFontDescriptor[], CTFontCollectionOptions) |
新增指定的字型描述項時,建立 CTFontCollection 的複本。 |