Package com.inductiveautomation.rm.shape
Class RMShapeImager
java.lang.Object
com.inductiveautomation.rm.shape.RMShapeImager
A class to produce an image for an RMShape.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateImage
(RMShape aShape) Returns an image for the given shape, with given background color (null for clear) and scale.getColor()
Returns the background color.double
getScale()
Returns the scale.Sets the background color.setScale
(double aValue) Sets the scale.
-
Constructor Details
-
RMShapeImager
public RMShapeImager()
-
-
Method Details
-
getColor
Returns the background color. -
setColor
Sets the background color. -
getScale
public double getScale()Returns the scale. -
setScale
Sets the scale. -
createImage
Returns an image for the given shape, with given background color (null for clear) and scale.
-