Platforms to show: All Mac Windows Linux Cross-Platform
Back to CTLineMBS class.
CTLineMBS.GlyphCount as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The total glyph count is equal to the sum of all of the glyphs in the glyph runs forming the line.
(Read only property)
CTLineMBS.StringRangeLength as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
CTLineMBS.StringRangeLocation as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
CTLineMBS.TrailingWhitespaceWidth as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The width of the line's trailing whitespace. If the line is invalid, this function will always return zero.
Creating a line for a width can result in a line that is actually longer than the desired width due to trailing whitespace. Although this is typically not an issue due to whitespace being invisible, this function can be used to determine what amount of a line's width is due to trailing whitespace.
Available in OS X v10.5 and later.
(Read only property)
The items on this page are in the following plugins: MBS MacCG Plugin.