Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Super class: CFObjectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A CTLine object contains an array of glyph runs. Line objects are created by the typesetter during a framesetting operation and can draw themselves directly into a graphics context.
Subclass of the CFObjectMBS class.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
Constant | Value | Description |
---|---|---|
kCTLineBoundsExcludeTypographicLeading | 1 |
Pass this option to exclude typographic leading. |
kCTLineBoundsExcludeTypographicShifts | 2 |
Pass this option to ignore cross-stream shifts due to positioning (such as kerning or baseline alignment). |
kCTLineBoundsUseGlyphPathBounds | 8 |
Pass this option to use glyph path bounds rather than the default typographic bounds. |
kCTLineBoundsUseHangingPunctuation | 4 |
Normally line bounds include all glyphs; pass this option to treat standard punctuation hanging off either end of the line as fully hanging. |
kCTLineBoundsUseOpticalBounds | 16 |
Pass this option to use optical bounds. This option overrides kCTLineBoundsUseGlyphPathBounds. |
Constant | Value | Description |
---|---|---|
kCTLineTruncationEnd | 1 |
Truncate the end of the line, leaving the start portion visible. |
kCTLineTruncationMiddle | 2 |
Truncate the middle of the line, leaving both the start and the end portions visible. |
kCTLineTruncationStart | 0 |
Truncate the beginning of the line, leaving the end portion visible. |
This class has no sub classes.
The items on this page are in the following plugins: MBS MacCF Plugin, MBS MacCG Plugin.
CTGlyphInfoMBS - CTMutableFontCollectionMBS