Class StunnerLienzoCore
- java.lang.Object
-
- org.kie.workbench.common.stunner.client.lienzo.StunnerLienzoCore
-
@ApplicationScoped public class StunnerLienzoCore extends Object
-
-
Constructor Summary
Constructors Constructor Description StunnerLienzoCore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit()It's really important to set theImageSelectionModeto the valueSELECT_BOUNDSdue to performance reasons (image rendering on different browsers).
-
-
-
Method Detail
-
init
@PostConstruct public void init()
It's really important to set theImageSelectionModeto the valueSELECT_BOUNDSdue 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 valueSELECT_BOUNDSas default. Also it's being used due to huge differences on the resulting performance when rendering the images into the contexts.
-
-