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(XMLArchiver anArchiver,
XMLElement 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
|
XMLElement |
toXML(XMLArchiver anArchiver)
XML archival.
|
deriveEffect, deriveEffect, emboss, getAltitude, getAzimuth, getRadius, paint
clone, getBlurredImage, getBlurredImage, getCachedImage, getShapeImage, reset
deepChange, getBounds, getName, isEnabled, propertyChange, setEnabled, toString
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 XMLElement toXML(XMLArchiver anArchiver)
toXML
in class RMEmbossEffect
public java.lang.Object fromXML(XMLArchiver anArchiver, XMLElement anElement)
fromXML
in class RMEmbossEffect