PeachDrawing.Core

PeachDrawing.Core.RetainedLayer

RetainedLayer.Draw(Canvas, double) Method

Draws the sealed layer onto target under its current transform, at Bounds.

public abstract void Draw(PeachDrawing.Core.Canvas target, double opacity=1.0);

Parameters

target Canvas

the canvas to draw onto

opacity System.Double

how opaque the layer is drawn, from 0 (invisible) to 1

Exceptions

System.InvalidOperationException
the layer is not sealed