public class RMShapeImager
extends java.lang.Object
Constructor and Description |
---|
RMShapeImager() |
Modifier and Type | Method and 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.
|
public java.awt.Color getColor()
public RMShapeImager setColor(java.awt.Color aColor)
public double getScale()
public RMShapeImager setScale(double aValue)
public java.awt.image.BufferedImage createImage(RMShape aShape)