Update post/pre render event doc usage in examples
This commit is contained in:
committed by
Tim Schaub
parent
160e9e8056
commit
91bd144f0e
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user