Class GraphElement

    • Constructor Detail

      • GraphElement

        public GraphElement​(MPrintGraph pg)
        Constructor
        Parameters:
        pg - graph model
    • Method Detail

      • calculateSize

        protected boolean calculateSize()
        Layout and Calculate Size Set p_width and p_height
        Specified by:
        calculateSize in class PrintElement
        Returns:
        true if calculated
      • paint

        public void paint​(Graphics2D g2D,
                          int pageNo,
                          Point2D pageStart,
                          Properties ctx,
                          boolean isView)
        Paint/Print.
        Specified by:
        paint in class PrintElement
        Parameters:
        g2D - Graphics
        pageNo - page number for multi page support (0 = header/footer)
        pageStart - top left Location of page
        ctx - context
        isView - true if online view (IDs are links)