public class RMBlurEffect extends RMImageEffect
RMImageEffect.BoxKernel, RMImageEffect.ConeKernel, RMImageEffect.GaussianKernel
Constructor and Description |
---|
RMBlurEffect()
Creates a new blur effect.
|
RMBlurEffect(int aRadius)
Creates a new blur effect with the parameters.
|
Modifier and Type | Method and Description |
---|---|
RMBlurEffect |
deriveFill(int aRadius)
Returns a blur effect just like this one, but with a radius equal to the given value.
|
boolean |
equals(java.lang.Object anObj)
Standard equals implementation.
|
java.lang.Object |
fromXML(XMLArchiver anArchiver,
XMLElement anElement)
XML unarchival.
|
RMRect |
getBounds(RMShape aShape)
Returns the bounds required to render this fill for this shape.
|
java.awt.image.BufferedImage |
getImage(RMShape aShape)
Returns the blur image.
|
int |
getRadius()
Returns the radius of the blur.
|
void |
paint(RMShapePainter aPntr,
RMShape aShape)
Render this fill in a painter.
|
XMLElement |
toXML(XMLArchiver anArchiver)
XML archival.
|
clone, getBlurredImage, getBlurredImage, getCachedImage, getShapeImage, reset
deepChange, getName, isEnabled, propertyChange, setEnabled, toString
public RMBlurEffect()
public RMBlurEffect(int aRadius)
public int getRadius()
public RMBlurEffect deriveFill(int aRadius)
public RMRect getBounds(RMShape aShape)
public java.awt.image.BufferedImage getImage(RMShape aShape)
getImage
in class RMImageEffect
public void paint(RMShapePainter aPntr, RMShape aShape)
public boolean equals(java.lang.Object anObj)
public XMLElement toXML(XMLArchiver anArchiver)