Declaration

optional func drawBackground(
    for layer: GSLayer,
    at layerOrigin: NSPoint,
    asActive active: Bool
)

Declaration

- (void) drawBackgroundForLayer:(GSLayer *) layer
                        atPoint:(NSPoint) layerOrigin
                       asActive:(BOOL) active;

Declaration

drawBackgroundForLayer_atPoint_asActive_(
    layer: GSLayer,
    layerOrigin: NSPoint,
    active: bool
)

Parameters

layer

The layer

layerOrigin

The current position in the edit view

active

If the layer is currently active