CTParagraphStyleMBS constants

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

Back to CTParagraphStyleMBS class.

Paragraph Styles

CTParagraphStyleMBS.kCTParagraphStyleSpecifierAlignment = 0

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the constants used to query and modify the CTParagraphStyle object.

The text alignment. Natural text alignment is realized as left or right alignment, depending on the line sweep direction of the first script contained in the paragraph. Type: CTTextAlignment. Default: kCTNaturalTextAlignment. Application: CTFramesetter.
Available in OS X v10.5 and later.

CTParagraphStyleMBS.kCTParagraphStyleSpecifierBaseWritingDirection = 13

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the constants used to query and modify the CTParagraphStyle object.

The base writing direction of the lines. Type: CTWritingDirection. Default: kCTWritingDirectionNatural. Application: CTFramesetter, CTTypesetter.

CTParagraphStyleMBS.kCTParagraphStyleSpecifierDefaultTabInterval = 5

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the constants used to query and modify the CTParagraphStyle object.

The documentwide default tab interval. Tabs after the last specified by kCTParagraphStyleSpecifierTabStops are placed at integer multiples of this distance (if positive). Type: CGFloat. Default: 0.0. Application: CTFramesetter, CTTypesetter.

CTParagraphStyleMBS.kCTParagraphStyleSpecifierFirstLineHeadIndent = 1

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the constants used to query and modify the CTParagraphStyle object.

The distance, in points, from the leading margin of a frame to the beginning of the paragraph's first line. This value is always nonnegative. Type: CGFloat. Default: 0.0. Application: CTFramesetter.

CTParagraphStyleMBS.kCTParagraphStyleSpecifierHeadIndent = 2

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the constants used to query and modify the CTParagraphStyle object.

The distance, in points, from the leading margin of a text container to the beginning of lines other than the first. This value is always nonnegative. Type: CGFloat Default: 0.0 Application: CTFramesetter

CTParagraphStyleMBS.kCTParagraphStyleSpecifierLineBoundsOptions = 17

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the constants used to query and modify the CTParagraphStyle object.

The options controlling the alignment of the line edges with the leading and trailing margins.

Type: CTLineBoundsOptions
Default: 0 (no options)
Application: CTTypesetter

CTParagraphStyleMBS.kCTParagraphStyleSpecifierLineBreakMode = 6

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the constants used to query and modify the CTParagraphStyle object.

The mode that should be used to break lines when laying out the paragraph's text. Type: CTLineBreakMode. Default: kCTLineBreakByWordWrapping. Application: CTFramesetter

CTParagraphStyleMBS.kCTParagraphStyleSpecifierLineHeightMultiple = 7

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the constants used to query and modify the CTParagraphStyle object.

The line height multiple. The natural line height of the receiver is multiplied by this factor (if positive) before being constrained by minimum and maximum line height. Type: CGFloat. Default: 0.0. Application: CTFramesetter.

CTParagraphStyleMBS.kCTParagraphStyleSpecifierLineSpacing = 10

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the constants used to query and modify the CTParagraphStyle object.

Deprecated. Use kCTParagraphStyleSpecifierMaximumLineSpacing, kCTParagraphStyleSpecifierMinimumLineSpacing, and kCTParagraphStyleSpecifierLineSpaceAdjustment to control space between lines. The space in points added between lines within the paragraph (commonly known as leading). This value is always nonnegative. Type: CGFloat. Default: 0.0. Application: CTFramesetter.

CTParagraphStyleMBS.kCTParagraphStyleSpecifierLineSpacingAdjustment = 16

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the constants used to query and modify the CTParagraphStyle object.

The space in points added between lines within the paragraph (commonly known as leading).
Available in OS X v10.7 and later.

CTParagraphStyleMBS.kCTParagraphStyleSpecifierMaximumLineHeight = 8

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the constants used to query and modify the CTParagraphStyle object.

The maximum height that any line in the frame will occupy, regardless of the font size or size of any attached graphic. Glyphs and graphics exceeding this height will overlap neighboring lines. A maximum height of 0 implies no line height limit. This value is always nonnegative. Type: CGFloat. Default: 0.0. Application: CTFramesetter.

CTParagraphStyleMBS.kCTParagraphStyleSpecifierMaximumLineSpacing = 14

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the constants used to query and modify the CTParagraphStyle object.

The maximum space in points between lines within the paragraph (commonly known as leading). This value is always nonnegative.
Available in OS X v10.7 and later.

CTParagraphStyleMBS.kCTParagraphStyleSpecifierMinimumLineHeight = 9

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the constants used to query and modify the CTParagraphStyle object.

The minimum height that any line in the frame will occupy, regardless of the font size or size of any attached graphic. This value is always nonnegative. Type: CGFloat. Default: 0.0. Application: CTFramesetter.

CTParagraphStyleMBS.kCTParagraphStyleSpecifierMinimumLineSpacing = 15

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the constants used to query and modify the CTParagraphStyle object.

The minimum space in points between lines within the paragraph (commonly known as leading). This value is always nonnegative.
Available in OS X v10.7 and later.

CTParagraphStyleMBS.kCTParagraphStyleSpecifierParagraphSpacing = 11

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the constants used to query and modify the CTParagraphStyle object.

The space added at the end of the paragraph to separate it from the following paragraph. This value is always nonnegative and is determined by adding the previous paragraph's kCTParagraphStyleSpecifierParagraphSpacing setting and the current paragraph's kCTParagraphStyleSpecifierParagraphSpacingBefore setting. Type: CGFloat. Default: 0.0. Application: CTFramesetter.

CTParagraphStyleMBS.kCTParagraphStyleSpecifierParagraphSpacingBefore = 12

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the constants used to query and modify the CTParagraphStyle object.

The distance between the paragraph's top and the beginning of its text content. Type: CGFloat. Default: 0.0. Application: CTFramesetter.

CTParagraphStyleMBS.kCTParagraphStyleSpecifierTabStops = 4

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the constants used to query and modify the CTParagraphStyle object.

The CTTextTab objects, sorted by location, that define the tab stops for the paragraph style. Type: CFArray of CTTextTabRef. Default: 12 left-aligned tabs, spaced by 28.0 points. Application: CTFramesetter, CTTypesetter.

CTParagraphStyleMBS.kCTParagraphStyleSpecifierTailIndent = 3

Type Topic Plugin Version
const CoreText MBS MacCG Plugin 14.2
One of the constants used to query and modify the CTParagraphStyle object.

The distance, in points, from the margin of a frame to the end of lines. If positive, this value is the distance from the leading margin (for example, the left margin in left-to-right text). If 0 or negative, it's the distance from the trailing margin. Type: CGFloat. Default: 0.0. Application: CTFramesetter.

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


💬 Ask a question or report a problem