Class RMChiselEffect
- All Implemented Interfaces:
- Archivable,- DeepChangeListener,- RMPropertyChanger,- PropertyChangeListener,- Cloneable,- EventListener
An emboss effect that uses contour fill as its bump map.
- 
Nested Class SummaryNested classes/interfaces inherited from class com.inductiveautomation.rm.graphics.RMImageEffectRMImageEffect.BoxKernel, RMImageEffect.ConeKernel, RMImageEffect.GaussianKernel
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionderiveEffect(boolean direction) deriveEffect(float newDepth) booleanStandard equals implementation.fromXML(RXArchiver anArchiver, RXElement anElement) XML unarchival.floatReturns bevel depth.Creates effect imagebooleanReturns whether direction is up.voidisolateHeightSample(int[] bumpPixels, int w, int h) Overridden from RMEmbossEffect to use the blue sample as the heighttoXML(RXArchiver anArchiver) XML archival.Methods inherited from class com.inductiveautomation.rm.graphics.RMEmbossEffectderiveEffect, deriveEffect, emboss, getAltitude, getAzimuth, getRadius, paintMethods inherited from class com.inductiveautomation.rm.graphics.RMImageEffectclone, getBlurredImage, getBlurredImage, getCachedImage, getShapeImage, resetMethods inherited from class com.inductiveautomation.rm.graphics.RMEffectdeepChange, getBounds, getName, isEnabled, propertyChange, setEnabled, toStringMethods 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- 
RMChiselEffectpublic RMChiselEffect()
 
- 
- 
Method Details- 
getImageCreates effect image- Overrides:
- getImagein class- RMEmbossEffect
 
- 
isolateHeightSamplepublic void isolateHeightSample(int[] bumpPixels, int w, int h) Overridden from RMEmbossEffect to use the blue sample as the height- Overrides:
- isolateHeightSamplein class- RMEmbossEffect
 
- 
deriveEffect
- 
deriveEffect
- 
isDirectionUppublic boolean isDirectionUp()Returns whether direction is up.
- 
getBevelDepthpublic float getBevelDepth()Returns bevel depth.
- 
equalsStandard equals implementation.- Overrides:
- equalsin class- RMEmbossEffect
 
- 
toXMLXML archival.- Specified by:
- toXMLin interface- Archivable
- Overrides:
- toXMLin class- RMEmbossEffect
 
- 
fromXMLXML unarchival.- Specified by:
- fromXMLin interface- Archivable
- Overrides:
- fromXMLin class- RMEmbossEffect
 
 
-