Platforms to show: All Mac Windows Linux Cross-Platform
Back to CALayerMBS class.
CALayerMBS.available as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreAnimation | MBS MacCG Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
True on Mac and False on Windows/Linux.
CALayerMBS.layer as CALayerMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreAnimation | MBS MacCG Plugin | 13.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns the initialized layer object or nil if initialization was not successful.
If you subclass CALayer, you may override this method and use it to provide an instance of your specific subclass.
CALayerMBS.layerFromHandle(Handle as Integer) as CALayerMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreAnimation | MBS MacCG Plugin | 21.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Handle must be pointing to a CALayer, UIView or NSView.
Returns nil in case of an error.
See also:
Some examples using this method:
CALayerMBS.layerFromHandle(Handle as Ptr) as CALayerMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreAnimation | MBS MacCG Plugin | 21.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Handle must be pointing to a CALayer, UIView or NSView.
Returns nil in case of an error.
See also:
The items on this page are in the following plugins: MBS MacCG Plugin.