Edytuj

Udostępnij za pośrednictwem


CALayerDelegate_Extensions Class

Definition

Extension methods to the ICALayerDelegate interface to support all the methods from the CALayerDelegate protocol.

public static class CALayerDelegate_Extensions
type CALayerDelegate_Extensions = class
Inheritance
CALayerDelegate_Extensions

Remarks

The extension methods for ICALayerDelegate allow developers to treat instances of the interface as having all the optional methods of the original CALayerDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

ActionForLayer(ICALayerDelegate, CALayer, String)
DisplayLayer(ICALayerDelegate, CALayer)
DrawLayer(ICALayerDelegate, CALayer, CGContext)
LayoutSublayersOfLayer(ICALayerDelegate, CALayer)
WillDrawLayer(ICALayerDelegate, CALayer)

Method that is called when layer is about to be drawn.

Applies to