Platforms to show: All Mac Windows Linux Cross-Platform

CATextLayerMBS class

Super class: CALayerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class CoreAnimation MBS MacCG Plugin 18.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The text layer provides simple text layout and rendering of plain or attributed strings.

The first line is aligned to the top of the layer.
Subclass of the CALayerMBS class.

Super class CALayerMBS

Edge constants

Constant Value Description
kCALayerBottomEdge 4 Specifies that the bottom edge of the receiver's content should be antialiased.
kCALayerLeftEdge 1 Specifies that the left edge of the receiver's content should be antialiased.
kCALayerRightEdge 2 Specifies that the right edge of the receiver's content should be antialiased.
kCALayerTopEdge 8 Specifies that the top edge of the receiver's content should be antialiased.

Autoresize Mask Constants

Constant Value Description
kCALayerHeightSizable 16 The receiver's height is flexible.
kCALayerMaxXMargin 4 The left margin between the receiver and its superview is flexible.
kCALayerMaxYMargin 32 The top margin between the receiver and its superview is flexible.
kCALayerMinXMargin 1 The left margin between the receiver and its superview is flexible.
kCALayerMinYMargin 8 The top margin between the receiver and its superview is flexible.
kCALayerNotSizable 0 The receiver cannot be resized.
kCALayerWidthSizable 2 The receiver's width is flexible.

This class has no sub classes.

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Release notes


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


CarbonWindowsEventsMBS   -   CATransactionMBS


The biggest plugin in space...