Class WMFPainter


  • public class WMFPainter
    extends AbstractWMFPainter
    Core class for rendering the WMF image. It is able to render a WMF file in a Graphics object.
    • Constructor Detail

      • WMFPainter

        public WMFPainter​(WMFRecordStore currentStore,
                          float scale)
        Basic constructor.
        Parameters:
        currentStore - where the WMF records are stored
        scale - the scale of the image
      • WMFPainter

        public WMFPainter​(WMFRecordStore currentStore,
                          int xOffset,
                          int yOffset,
                          float scale)
        Basic constructor.
        Parameters:
        scale - the scale of the image
        currentStore - where the WMF records are stored
        xOffset - x value for offset
        yOffset - y value for offset
    • Method Detail

      • paint

        public void paint​(java.awt.Graphics g)
        Renders the WMF image(s).