CALayerDelegate class interface
CALayerDelegate
Constructors
- CALayerDelegate.castFrom(ObjCObjectBase other)
-
Constructs a CALayerDelegate that points to the same underlying object as
other. -
CALayerDelegate.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a CALayerDelegate that wraps the given raw object pointer.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ref → ObjCObjectRef
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- $protocol → Protocol
-
Returns the
objc.Protocolobject for this protocol.no setter -
actionForLayer_forKey_
→ ObjCProtocolMethod<
CAAction? Function(CALayer, NSString)> -
actionForLayer:forKey:
final
-
displayLayer_
→ ObjCProtocolListenableMethod<
void Function(CALayer)> -
displayLayer:
final
-
drawLayer_inContext_
→ ObjCProtocolListenableMethod<
void Function(CALayer, CGContextRef)> -
drawLayer:inContext:
final
-
layerWillDraw_
→ ObjCProtocolListenableMethod<
void Function(CALayer)> -
layerWillDraw:
final
-
layoutSublayersOfLayer_
→ ObjCProtocolListenableMethod<
void Function(CALayer)> -
layoutSublayersOfLayer:
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {void displayLayer_(CALayer)?, void drawLayer_inContext_(CALayer, CGContextRef)?, void layerWillDraw_(CALayer)?, void layoutSublayersOfLayer_(CALayer)?, CAAction? actionForLayer_forKey_(CALayer, NSString)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the CALayerDelegate protocol to an existing
objc.ObjCProtocolBuilder. -
addToBuilderAsBlocking(
ObjCProtocolBuilder builder, {void displayLayer_(CALayer)?, void drawLayer_inContext_(CALayer, CGContextRef)?, void layerWillDraw_(CALayer)?, void layoutSublayersOfLayer_(CALayer)?, CAAction? actionForLayer_forKey_(CALayer, NSString)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the CALayerDelegate protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be. -
addToBuilderAsListener(
ObjCProtocolBuilder builder, {void displayLayer_(CALayer)?, void drawLayer_inContext_(CALayer, CGContextRef)?, void layerWillDraw_(CALayer)?, void layoutSublayersOfLayer_(CALayer)?, CAAction? actionForLayer_forKey_(CALayer, NSString)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the CALayerDelegate protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be. -
conformsTo(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of CALayerDelegate. -
implement(
{void displayLayer_(CALayer)?, void drawLayer_inContext_(CALayer, CGContextRef)?, void layerWillDraw_(CALayer)?, void layoutSublayersOfLayer_(CALayer)?, CAAction? actionForLayer_forKey_(CALayer, NSString)?, bool $keepIsolateAlive = true}) → CALayerDelegate -
Builds an object that implements the CALayerDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. -
implementAsBlocking(
{void displayLayer_(CALayer)?, void drawLayer_inContext_(CALayer, CGContextRef)?, void layerWillDraw_(CALayer)?, void layoutSublayersOfLayer_(CALayer)?, CAAction? actionForLayer_forKey_(CALayer, NSString)?, bool $keepIsolateAlive = true}) → CALayerDelegate -
Builds an object that implements the CALayerDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as blocking listeners will be. -
implementAsListener(
{void displayLayer_(CALayer)?, void drawLayer_inContext_(CALayer, CGContextRef)?, void layerWillDraw_(CALayer)?, void layoutSublayersOfLayer_(CALayer)?, CAAction? actionForLayer_forKey_(CALayer, NSString)?, bool $keepIsolateAlive = true}) → CALayerDelegate -
Builds an object that implements the CALayerDelegate protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as listeners will be.