Update post/pre render event doc usage in examples

This commit is contained in:
Florent gravin
2018-11-16 10:00:11 +01:00
committed by Tim Schaub
parent 160e9e8056
commit 91bd144f0e
3 changed files with 5 additions and 5 deletions

View File

@@ -3,7 +3,7 @@ layout: example.html
title: Layer Spy
shortdesc: View a portion of one layer over another
docs: >
<p>Layer rendering can be manipulated in <code>precompose</code> and <code>postcompose</code> event listeners.
<p>Layer rendering can be manipulated in <code>prerender</code> and <code>postrender</code> event listeners.
These listeners get an event with a reference to the Canvas rendering context.
In this example, the <code>precompose</code> listener sets a clipping mask around the most
recent mouse position, giving you a spyglass effect for viewing one layer over another.</p>