Class RMShapeImager


  • public class RMShapeImager
    extends java.lang.Object
    A class to produce an image for an RMShape.
    • Constructor Summary

      Constructors 
      Constructor Description
      RMShapeImager()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.image.BufferedImage createImage​(RMShape aShape)
      Returns an image for the given shape, with given background color (null for clear) and scale.
      java.awt.Color getColor()
      Returns the background color.
      double getScale()
      Returns the scale.
      RMShapeImager setColor​(java.awt.Color aColor)
      Sets the background color.
      RMShapeImager setScale​(double aValue)
      Sets the scale.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RMShapeImager

        public RMShapeImager()
    • Method Detail

      • getColor

        public java.awt.Color getColor()
        Returns the background color.
      • setColor

        public RMShapeImager setColor​(java.awt.Color aColor)
        Sets the background color.
      • getScale

        public double getScale()
        Returns the scale.
      • setScale

        public RMShapeImager setScale​(double aValue)
        Sets the scale.
      • createImage

        public java.awt.image.BufferedImage createImage​(RMShape aShape)
        Returns an image for the given shape, with given background color (null for clear) and scale.