Platforms to show: All Mac Windows Linux Cross-Platform
AVSynchronizedLayerMBS class
Super class: CALayerMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
You can create an arbitrary number of synchronized layers from the same AVPlayerItem object.
A synchronized layer is similar to a CATransformLayer object in that it doesn't display anything itself, it just confers state upon its layer subtree. AVSynchronizedLayer confers is timing state, synchronizing the timing of layers in its subtree with that of a player item.
Subclass of the CALayerMBS class.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- property playerItem as AVPlayerItemMBS
- method Constructor Private
- shared method synchronizedLayerWithPlayerItem(playerItem as AVPlayerItemMBS) as AVSynchronizedLayerMBS
Super class CALayerMBS
- 41 properties
- property affineTransform as CGAffineTransformMBS
- property anchorPoint as CGRectMBS
- property anchorPointZ as Double
- property AutoresizingMask as Integer
- property backgroundColor as Variant
- property borderColor as Variant
- property borderWidth as Double
- property bounds as CGRectMBS
- property className as string
- property classPath as string
- property contents as Variant
- property contentsCenter as CGRectMBS
- property contentsRect as CGRectMBS
- property contentsScale as Double
- property cornerRadius as Double
- property DoubleSided as boolean
- property drawsAsynchronously as boolean
- property frame as CGRectMBS
- property Handle as Integer
- property Hidden as boolean
- property mask as CALayerMBS
- property masksToBounds as Boolean
- property minificationFilterBias as Double
- property modelLayer as CALayerMBS
- property needsDisplay as boolean
- property needsDisplayOnBoundsChange as boolean
- property needsLayout as boolean
- property opacity as Double
- property Opaque as boolean
- property position as CGRectMBS
- property preferredFrameSize as CGSizeMBS
- property presentationLayer as CALayerMBS
- property rasterizationScale as Double
- property shadowColor as Variant
- property shadowOffset as CGSizeMBS
- property shadowOpacity as Double
- property shadowPath as Variant
- property shadowRadius as Double
- property shouldRasterize as Boolean
- property superlayer as CALayerMBS
- property zPosition as Double
- 14 methods
- method addSublayer(layer as CALayerMBS)
- method Constructor
- method display
- method displayIfNeeded
- method layoutIfNeeded
- method layoutSublayers
- method removeAllAnimations
- method removeFromSuperlayer
- method renderInContext(CGContextHandle as Integer) as boolean
- method renderInPicture(Pic as Picture) as boolean
- method setNeedsDisplay
- method setNeedsDisplayInRect(r as CGRectMBS)
- method setNeedsLayout
- method sublayers as CALayerMBS()
- 4 shared methods
- shared method available as boolean
- shared method layer as CALayerMBS
- shared method layerFromHandle(Handle as Integer) as CALayerMBS
- shared method layerFromHandle(Handle as Ptr) as CALayerMBS
- 11 constants
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.
The items on this page are in the following plugins: MBS AVFoundation Plugin, MBS MacCG Plugin.
AVSpeechUtteranceMBS - AVTextStyleRuleMBS