Platforms to show: All Mac Windows Linux Cross-Platform

Back to CTLineMBS class.

CTLineMBS.kCTLineBoundsExcludeTypographicLeading = 1

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the line bounds constants.

Pass this option to exclude typographic leading.

CTLineMBS.kCTLineBoundsExcludeTypographicShifts = 2

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the line bounds constants.

Pass this option to ignore cross-stream shifts due to positioning (such as kerning or baseline alignment).

CTLineMBS.kCTLineBoundsUseGlyphPathBounds = 8

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the line bounds constants.

Pass this option to use glyph path bounds rather than the default typographic bounds.

CTLineMBS.kCTLineBoundsUseHangingPunctuation = 4

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the line bounds constants.

Normally line bounds include all glyphs; pass this option to treat standard punctuation hanging off either end of the line as fully hanging.

CTLineMBS.kCTLineBoundsUseOpticalBounds = 16

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the line bounds constants.

Pass this option to use optical bounds. This option overrides kCTLineBoundsUseGlyphPathBounds.

CTLineMBS.kCTLineTruncationEnd = 1

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the values to tell the truncation engine which type of truncation is being requested..

Truncate the end of the line, leaving the start portion visible.

CTLineMBS.kCTLineTruncationMiddle = 2

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the values to tell the truncation engine which type of truncation is being requested..

Truncate the middle of the line, leaving both the start and the end portions visible.

CTLineMBS.kCTLineTruncationStart = 0

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the values to tell the truncation engine which type of truncation is being requested..

Truncate the beginning of the line, leaving the end portion visible.

The items on this page are in the following plugins: MBS MacCG Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...