Platforms to show: All Mac Windows Linux Cross-Platform
Back to CTLineMBS class.
CTLineMBS.Available as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns true in OS X v10.5 and later.
CTLineMBS.CreateWithAttributedString(s as CFAttributedStringMBS) as CTLineMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
s: The string from which the line is created.
Returns a reference to a CTLine object if the call was successful; otherwise, nil.
This function allows clients who need very simple line generation to create a line without creating a typesetter object. The typesetting is done under the hood. Without a typesetter object, the line cannot be properly broken. However, for simple things like text labels, line breaking is not an issue.
Available in OS X v10.5 and later.
The items on this page are in the following plugins: MBS MacCG Plugin.