Platforms to show: All Mac Windows Linux Cross-Platform
Back to CTFontCollectionMBS class.
CTFontCollectionMBS.Constructor Private
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
CTFontCollectionMBS.CopyWithFontDescriptors(queryDescriptors() as CTFontDescriptorMBS, options as dictionary) as CTFontCollectionMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
queryDescriptors: An array of font descriptors to augment those of the original collection.
options: The options dictionary.
Returns a copy of the original font collection augmented by the new font descriptors and options.
The new font descriptors are merged with the existing descriptors to create a single set.
Available in OS X v10.5 and later.
CTFontCollectionMBS.ExclusionDescriptors as CTFontDescriptorMBS()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
CTFontCollectionMBS.FontAttribute(attributeName as string, options as Integer) as Dictionary()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
attributeName: The attribute to retrieve for each descriptor in the collection.
options: Options to alter the return value.
This function returns a retained reference to an array, or nil on error. The caller is responsible for releasing the array. The array contains one value for each descriptor, in the same order as the results from CreateMatchingDescriptors. When the kCTFontCollectionCopyUnique is set, duplicate values will be removed. When kCTFontCollectionCopyStandardSort is set, the values will be sorted in standard UI order.
See also:
CTFontCollectionMBS.FontAttribute(attributeNames() as string, options as Integer) as Dictionary()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
This function returns a retained reference to a array, or nil on error. The caller is responsible for releasing the array. The array contains one value for each descriptor, in the same order as the results from CreateMatchingDescriptors. When the kCTFontCollectionCopyUnique is set, duplicate values will be removed. When kCTFontCollectionCopyStandardSort is set, the values will be sorted in standard UI order.
See also:
CTFontCollectionMBS.MatchingFontDescriptors(options as dictionary = nil) as CTFontDescriptorMBS()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
CTFontCollectionMBS.MatchingFontDescriptorsForFamily(familyName as string, options as dictionary = nil) as CTFontDescriptorMBS()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
CTFontCollectionMBS.MatchingFontDescriptorsSorted(tag as Variant) as CTFontDescriptorMBS()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
This function returns an array of font descriptors matching the criteria of the collection and sorted by the results of the sorting callback function.
Calls FontCollectionSortDescriptors in CoreTextMBS class.
CTFontCollectionMBS.MutableCopy as CTMutableFontCollectionMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
CTFontCollectionMBS.QueryDescriptors as CTFontDescriptorMBS()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The items on this page are in the following plugins: MBS MacCG Plugin.