FastLayer
new Konva.FastLayer(config)
FastLayer constructor. DEPRECATED! Please use Konva.Layer(\{ listening: false\}) instead. Layers are tied to their own canvas element and are used to contain shapes only. If you don't need node nesting, mouse and touch interactions, or event pub/sub, you should use FastLayer instead of Layer to create your layers. It renders about 2x faster than normal layers.
Parameters
| Name | Type | Description |
|---|---|---|
| clip (optional) | Object | set clip |
| clipX (optional) | Number | set clip x |
| clipY (optional) | Number | set clip y |
| clipWidth (optional) | Number | set clip width |
| clipHeight (optional) | Number | set clip height |
| clipFunc (optional) | function | set clip func |
Inherited from: Konva.Layer
Inherited Methods
getCanvas()
get layer canvas wrapper
Inherited from: Konva.Layer#getCanvas
getNativeCanvasElement()
get native canvas element
Inherited from: Konva.Layer#getNativeCanvasElement
getHitCanvas()
get layer hit canvas
Inherited from: Konva.Layer#getHitCanvas