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, paint
clone, getBlurredImage, getBlurredImage, getCachedImage, getShapeImage, reset
deepChange, getBounds, getName, isEnabled, propertyChange, setEnabled, toString
addPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange
addListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
public java.awt.image.BufferedImage getImage(RMShape aShape)
getImage
in class RMEmbossEffect
public void isolateHeightSample(int[] bumpPixels, int w, int h)
isolateHeightSample
in class RMEmbossEffect
public 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 RMEmbossEffect
public RXElement toXML(RXArchiver anArchiver)
toXML
in interface Archivable
toXML
in class RMEmbossEffect
public java.lang.Object fromXML(RXArchiver anArchiver, RXElement anElement)
fromXML
in interface Archivable
fromXML
in class RMEmbossEffect