CanvasOperationBeginLayer | ||||||||||
Type | statement | |||||||||
Dictionary | LCB | |||||||||
Library | LiveCode Builder | |||||||||
Syntax |
| |||||||||
Associations | com.livecode.canvas | |||||||||
Summary | Begin a new drawing layer on a canvas. mBounds:An expression which evaluates to a rectangle. | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Description | Begins a new layer on mCanvas to group drawing operations for which the opacity, blend mode, and optional effect are to be applied to as a whole rather than individually. The optional drawing bounds can be used to restrict the area to which the effect is applied, allowing the canvas library to optimize memory allocation & drawing operations for the new layer. | |||||||||
Tags | canvas |