Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

CATextLayerMBS class

Super class: CALayerMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class CoreAnimation MBS AVFoundation Plugin 18.4 Yes No No Yes, macOS only No
Function: The text layer provides simple text layout and rendering of plain or attributed strings.
Notes:
The first line is aligned to the top of the layer.
Subclass of the CALayerMBS class.

Feedback, Comments & Corrections

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 which use this class:

Blog Entries


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


CarbonWindowsEventsMBS   -   CATransactionMBS




Links
MBS Xojo Chart Plugins