Interface IPainterFactory

    • Method Detail

      • setChartFactory

        void setChartFactory​(IChartFactory factory)
      • isOffscreen

        boolean isOffscreen()
      • setOffscreenDisabled

        void setOffscreenDisabled()
      • setOffscreen

        void setOffscreen​(int width,
                          int height)
        The size of the offscreen chart dimension. Native implementation will really make the chart offscreen. EmulGL will configure the chart for offscreen rendering but won't prevent to open the chart. Note that if the chart is opened on an HiDPI screen, further screenshot may be bigger than expected due to pixel scale capabilities discovered only once the component is rendered on a screen.
        Parameters:
        width -
        height -
      • setOffscreen

        void setOffscreen​(Rectangle rectangle)
      • getOffscreenDimension

        Dimension getOffscreenDimension()