public class RMChiselEffect extends RMEmbossEffect
RMImageEffect.BoxKernel, RMImageEffect.ConeKernel, RMImageEffect.GaussianKernel
Constructor and Description |
---|
RMChiselEffect()
Creates a new chisel effect.
|
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(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement,
java.lang.Object anOwner)
XML unarchival.
|
float |
getBevelDepth()
Returns bevel depth.
|
java.awt.image.BufferedImage |
getImage()
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
|
com.reportmill.archiver.RXElement |
toXML(com.reportmill.archiver.RXArchiver anArchiver,
java.lang.Object anOwner)
XML archival.
|
deriveEffect, deriveEffect, emboss, getAltitude, getAzimuth, getRadius, paint
clone, getBlurredImage, getBlurredImage, getCachedImage, getShapeImage, propertyChange, setShape
getName, isEnabled, setEnabled
deriveFill, getBounds, getColor, getShape, hasAlpha, setColor, toString
addPropertyChangeListener, animUpdate, removePropertyChangeListener
addListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
public java.awt.image.BufferedImage getImage()
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 com.reportmill.archiver.RXElement toXML(com.reportmill.archiver.RXArchiver anArchiver, java.lang.Object anOwner)
toXML
in class RMEmbossEffect
public java.lang.Object fromXML(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement, java.lang.Object anOwner)
fromXML
in class RMEmbossEffect