PeachDrawing.Core

PeachDrawing.Core.CanvasLayer

CanvasLayer(Canvas, Action) Constructor

Creates a layer that runs complete once, when it is disposed.

public CanvasLayer(PeachDrawing.Core.Canvas canvas, System.Action complete);

Parameters

canvas Canvas

the canvas to draw the layer’s content onto

complete System.Action

composites the finished layer onto the canvas that began it

Exceptions

System.ArgumentNullException
an argument is null