Instance Method
processLayer(_:supporting:extraHandles:) processLayer:supporting:extraHandles:error: processLayer_supporting_extraHandles_error_
Is called to process the layer preparing it for preview
Declaration
func processLayer(_ layer: GSLayer, supporting supportedFeatures: GSDrawStackFeature, extraHandles: NSMutableArray?) throwsDeclaration
- (BOOL) processLayer:(GSLayer *) layer supporting:(GSDrawStackFeature) supportedFeatures extraHandles:(NSMutableArray *) extraHandles error:(NSError **) error;Declaration
processLayer_supporting_extraHandles_error_(layer: GSLayer, supportedFeatures: GSDrawStackFeature, extraHandles: list) -> tuple[bool, NSError]Parameters
layerThe layer to process
extraHandlesOn return, a list of GSHandle objects that are shown as small black dots in the UI
Parameters
layerThe layer to process
extraHandlesOn return, a list of GSHandle objects that are shown as small black dots in the UI
errorOn output, a pointer to an error object that describes why the method failed, or
nilif no error occurred. If you are not interested in the error information, passnilfor this parameter.
Return Value
NO if there was an error