Class RMChiselEffect
- All Implemented Interfaces:
Archivable,DeepChangeListener,RMPropertyChanger,PropertyChangeListener,Cloneable,EventListener
An emboss effect that uses contour fill as its bump map.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inductiveautomation.rm.graphics.RMImageEffect
RMImageEffect.BoxKernel, RMImageEffect.ConeKernel, RMImageEffect.GaussianKernel -
Constructor Summary
Constructors -
Method Summary
Modifier 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.RMEmbossEffect
deriveEffect, deriveEffect, emboss, getAltitude, getAzimuth, getRadius, paintMethods inherited from class com.inductiveautomation.rm.graphics.RMImageEffect
clone, getBlurredImage, getBlurredImage, getCachedImage, getShapeImage, resetMethods inherited from class com.inductiveautomation.rm.graphics.RMEffect
deepChange, getBounds, getName, isEnabled, propertyChange, setEnabled, toStringMethods inherited from class com.inductiveautomation.rm.base.RMObject
addPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChangeMethods inherited from class com.inductiveautomation.rm.base.RMListenerList
addListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
-
Constructor Details
-
RMChiselEffect
public RMChiselEffect()
-
-
Method Details
-
getImage
Creates effect image- Overrides:
getImagein classRMEmbossEffect
-
isolateHeightSample
public void isolateHeightSample(int[] bumpPixels, int w, int h) Overridden from RMEmbossEffect to use the blue sample as the height- Overrides:
isolateHeightSamplein classRMEmbossEffect
-
deriveEffect
-
deriveEffect
-
isDirectionUp
public boolean isDirectionUp()Returns whether direction is up. -
getBevelDepth
public float getBevelDepth()Returns bevel depth. -
equals
Standard equals implementation.- Overrides:
equalsin classRMEmbossEffect
-
toXML
XML archival.- Specified by:
toXMLin interfaceArchivable- Overrides:
toXMLin classRMEmbossEffect
-
fromXML
XML unarchival.- Specified by:
fromXMLin interfaceArchivable- Overrides:
fromXMLin classRMEmbossEffect
-