@ApplicationScoped public class StunnerLienzoCore extends Object
| Constructor and Description |
|---|
StunnerLienzoCore() |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
It's really important to set the
ImageSelectionMode to the
value SELECT_BOUNDS due to performance reasons (image rendering on different browsers). |
@PostConstruct public void init()
ImageSelectionMode to the
value SELECT_BOUNDS due to performance reasons (image rendering on different browsers).
Stunner does not use image filters neither requires the image to be drawn in the
selection context2D, so it uses the value SELECT_BOUNDS as default.
Also it's being used due to huge differences on the resulting performance when
rendering the images into the contexts.Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.