Declaration

func draw(_ layer: GSLayer, at layerOrigin: NSPoint, asActive active: Bool, attributes: [AnyHashable : Any]? = nil)

Declaration

- (void) drawLayer:(GSLayer *) layer atPoint:(NSPoint) layerOrigin asActive:(BOOL) active attributes:(NSDictionary *) attributes;

Declaration

drawLayer_atPoint_asActive_attributes_(layer: GSLayer, layerOrigin: NSPoint, active: bool, attributes: dict)

Parameters

layer

The layer

layerOrigin

The current position in the edit view

active

If the layer is currently active

attributes

Some attributes