CanvasDrawingSessionCreateLayer Method (Single) |
Namespace: Microsoft.Graphics.Canvas
public CanvasActiveLayer CreateLayer( float opacity )
The layer affects all drawing until the returned CanvasActiveLayer object is closed. In C# this is typically done with a 'using' statement, or in C++/CX the 'delete' keyword.
For more information about layers, see CanvasActiveLayer.