public class RMChiselEffect extends RMEmbossEffect
RMImageEffect.BoxKernel, RMImageEffect.ConeKernel, RMImageEffect.GaussianKernel| Constructor and Description |
|---|
RMChiselEffect() |
| Modifier and Type | Method and Description |
|---|---|
RMChiselEffect |
deriveEffect(boolean direction) |
RMChiselEffect |
deriveEffect(float newDepth) |
boolean |
equals(java.lang.Object anObj)
Standard equals implementation.
|
java.lang.Object |
fromXML(RXArchiver anArchiver,
RXElement anElement)
XML unarchival.
|
float |
getBevelDepth()
Returns bevel depth.
|
java.awt.image.BufferedImage |
getImage(RMShape aShape)
Creates effect image
|
boolean |
isDirectionUp()
Returns whether direction is up.
|
void |
isolateHeightSample(int[] bumpPixels,
int w,
int h)
Overridden from RMEmbossEffect to use the blue sample as the height
|
RXElement |
toXML(RXArchiver anArchiver)
XML archival.
|
deriveEffect, deriveEffect, emboss, getAltitude, getAzimuth, getRadius, paintclone, getBlurredImage, getBlurredImage, getCachedImage, getShapeImage, resetdeepChange, getBounds, getName, isEnabled, propertyChange, setEnabled, toStringaddPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChangeaddListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListenerpublic java.awt.image.BufferedImage getImage(RMShape aShape)
getImage in class RMEmbossEffectpublic void isolateHeightSample(int[] bumpPixels,
int w,
int h)
isolateHeightSample in class RMEmbossEffectpublic RMChiselEffect deriveEffect(float newDepth)
public RMChiselEffect deriveEffect(boolean direction)
public boolean isDirectionUp()
public float getBevelDepth()
public boolean equals(java.lang.Object anObj)
equals in class RMEmbossEffectpublic RXElement toXML(RXArchiver anArchiver)
toXML in interface ArchivabletoXML in class RMEmbossEffectpublic java.lang.Object fromXML(RXArchiver anArchiver, RXElement anElement)
fromXML in interface ArchivablefromXML in class RMEmbossEffect