Platforms to show: All Mac Windows Linux Cross-Platform

Back to CTFrameMBS class.

CTFrameMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreText MBS MacCG Plugin 14.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The private constructor.

CTFrameMBS.Draw(context as CGContextMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreText MBS MacCG Plugin 14.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Draws an entire frame into a context.

context: The context in which to draw the frame.

If both the frame and the context are valid, the frame is drawn in the context. This call can leave the context in any state and does not flush it after the draw operation.

CTFrameMBS.LineOrigins(location as Integer, length as Integer) as CGPointMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreText MBS MacCG Plugin 14.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Copies a range of line origins for a frame.

location and length: The range of line origins you wish to copy. If the length of the range is 0, then the copy operation continues from the start index of the range to the last line origin.

Returns array with CGPoints. Empty array in case of errors.

Special Considerations
In versions of OS X prior to 10.7 and versions of iOS prior to 4.2, this function may function unpredictably if the frame is not rectangular.

CTFrameMBS.Lines as CTLineMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreText MBS MacCG Plugin 14.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns an array of lines stored in the frame.

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


The biggest plugin in space...