Class RMImageEffect
java.lang.Object
com.inductiveautomation.rm.base.RMListenerList
com.inductiveautomation.rm.base.RMObject
com.inductiveautomation.rm.graphics.RMEffect
com.inductiveautomation.rm.graphics.RMImageEffect
- All Implemented Interfaces:
- Archivable,- DeepChangeListener,- RMPropertyChanger,- PropertyChangeListener,- Cloneable,- EventListener
- Direct Known Subclasses:
- RMBlurEffect,- RMEmbossEffect,- RMReflectionEffect,- RMShadowEffect
A effect based on image filtering.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classA kernel class for box filters (really?).static classA kernel class for cone effects.static classExtends Kernel with constructor which takes Kernel size and automatically generates a gaussian matrix.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Standard clone implementation.getBlurredImage(BufferedImage anImage, int imageInset, int aRadius) Returns the blur image (can be set pre-inset image for efficiency of ConvolveOp).getBlurredImage(BufferedImage anImage, int imageInset, Kernel kernel) Returns the image blurred with the particular Kernel.getCachedImage(RMShape aShape) Returns the effect image from cache (calls getImage to load image into cache).abstract BufferedImageReturns the effect image.getShapeImage(RMShape aShape, int anInset, boolean premultiply) Returns image of given shape inside a gutter of given inset (maybe should be insets one day).voidreset()Override to reset image.Methods inherited from class com.inductiveautomation.rm.graphics.RMEffectdeepChange, fromXML, getBounds, getName, isEnabled, paint, propertyChange, setEnabled, toString, toXMLMethods inherited from class com.inductiveautomation.rm.base.RMObjectaddPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChangeMethods inherited from class com.inductiveautomation.rm.base.RMListenerListaddListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
- 
Constructor Details- 
RMImageEffectpublic RMImageEffect()
 
- 
- 
Method Details- 
getImageReturns the effect image.
- 
getShapeImageReturns image of given shape inside a gutter of given inset (maybe should be insets one day).
- 
getBlurredImageReturns the blur image (can be set pre-inset image for efficiency of ConvolveOp).
- 
getBlurredImageReturns the image blurred with the particular Kernel.
- 
getCachedImageReturns the effect image from cache (calls getImage to load image into cache).
- 
resetpublic void reset()Override to reset image.
- 
cloneStandard clone implementation.
 
-