Class RMShapeImager

java.lang.Object
com.inductiveautomation.rm.shape.RMShapeImager

public class RMShapeImager extends Object
A class to produce an image for an RMShape.
  • Constructor Details

    • RMShapeImager

      public RMShapeImager()
  • Method Details

    • getColor

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

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

      public double getScale()
      Returns the scale.
    • setScale

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

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