Class StunnerLienzoCore


  • @ApplicationScoped
    public class StunnerLienzoCore
    extends Object
    • Constructor Detail

      • StunnerLienzoCore

        public StunnerLienzoCore()
    • Method Detail

      • init

        @PostConstruct
        public void init()
        It's really important to set the 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.