Platforms to show: All Mac Windows Linux Cross-Platform
Back to CATextLayerMBS class.
CATextLayerMBS.alignmentMode as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreAnimation | MBS MacCG Plugin | 18.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The possible options are `natural', `left', `right', `center' and `justified'. Defaults to `natural'.
(Read and Write property)
CATextLayerMBS.allowsFontSubpixelQuantization as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreAnimation | MBS MacCG Plugin | 18.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Defaults to false.
(Read and Write property)
CATextLayerMBS.font as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreAnimation | MBS MacCG Plugin | 18.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
May be either a CTFontMBS, NSFontMBS, CGFontMBS, or a string naming the font.
Defaults to the Helvetica font. Only used when the `string' property is not an NSAttributedStringMBS object.
(Read and Write property)
CATextLayerMBS.fontSize as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreAnimation | MBS MacCG Plugin | 18.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Defaults to 36. Only used when the `string' property is not an NSAttributedStringMBS. Animatable (Mac OS X 10.6 and later.)
(Read and Write property)
CATextLayerMBS.foregroundColor as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreAnimation | MBS MacCG Plugin | 18.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Defaults to opaque white.
Only used when the `string' property is not an NSAttributedStringMBS object.
Animatable (Mac OS X 10.6 and later.)
(Read and Write property)
Some examples using this property:
CATextLayerMBS.String as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreAnimation | MBS MacCG Plugin | 18.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Defaults to nil.
(Read and Write property)
CATextLayerMBS.truncationMode as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreAnimation | MBS MacCG Plugin | 18.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The possible options are `none', `start', `middle' and `end'. Defaults to `none'.
(Read and Write property)
CATextLayerMBS.Wrapped as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreAnimation | MBS MacCG Plugin | 18.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Defaults to false.
(Read and Write property)
The items on this page are in the following plugins: MBS MacCG Plugin.