Class BoxElement

    • Constructor Detail

      • BoxElement

        public BoxElement​(MPrintFormatItem item,
                          Color color)
        BoxElement
        Parameters:
        item - item
        color - color
    • Method Detail

      • calculateSize

        protected boolean calculateSize()
        Calculate Size
        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
        Specified by:
        paint in class PrintElement
        Parameters:
        g2D - graphics
        pageNo - page
        pageStart - page start
        ctx - context
        isView - true if Java