AreaEffectGlowPathEffect, InnerGlowPathEffect, InnerShadowPathEffect, NeonBorderEffect, ShadowPathEffectpublic class AbstractAreaEffect extends java.lang.Object implements AreaEffect
| Constructor | Description |
|---|---|
AbstractAreaEffect() |
Creates a new instance of AreaEffect
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l) |
Adds a PropertyChangeListener to the listener list.
|
void |
apply(java.awt.Graphics2D g,
java.awt.Shape clipShape,
int width,
int height) |
Draws an effect on the specifed graphics and path using the specified width and height.
|
java.awt.Color |
getBrushColor() |
Getter for property brushColor.
|
int |
getBrushSteps() |
Getter for property brushSteps.
|
int |
getEffectWidth() |
Getter for property effectWidth.
|
java.awt.geom.Point2D |
getOffset() |
Getter for property offset.
|
boolean |
isRenderInsideShape() |
Getter for property renderInsideShape.
|
boolean |
isShapeMasked() |
Getter for property shapeMasked.
|
boolean |
isShouldFillShape() |
Getter for property shouldFillShape.
|
protected void |
paintBorderGlow(java.awt.Graphics2D g2,
java.awt.Shape clipShape,
int width,
int height) |
Paints the border glow
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l) |
Removes a PropertyChangeListener from the listener list.
|
void |
setBrushColor(java.awt.Color brushColor) |
Setter for property brushColor.
|
void |
setBrushSteps(int brushSteps) |
Setter for property brushSteps.
|
void |
setEffectWidth(int effectWidth) |
Setter for property effectWidth.
|
void |
setOffset(java.awt.geom.Point2D offset) |
Setter for property offset.
|
void |
setRenderInsideShape(boolean renderInsideShape) |
Setter for property renderInsideShape.
|
void |
setShapeMasked(boolean shapeMasked) |
Setter for property shapeMasked.
|
void |
setShouldFillShape(boolean shouldFillShape) |
Setter for property shouldFillShape.
|
public AbstractAreaEffect()
public void apply(java.awt.Graphics2D g,
java.awt.Shape clipShape,
int width,
int height)
AreaEffectapply in interface AreaEffectprotected void paintBorderGlow(java.awt.Graphics2D g2,
java.awt.Shape clipShape,
int width,
int height)
g2 - clipShape - width - height - public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
l - The listener to add.public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
l - The listener to remove.public java.awt.Color getBrushColor()
public void setBrushColor(java.awt.Color brushColor)
brushColor - New value of property brushColor.public int getBrushSteps()
public void setBrushSteps(int brushSteps)
brushSteps - New value of property brushSteps.public int getEffectWidth()
public void setEffectWidth(int effectWidth)
effectWidth - New value of property effectWidth.public boolean isRenderInsideShape()
public void setRenderInsideShape(boolean renderInsideShape)
renderInsideShape - New value of property renderInsideShape.public java.awt.geom.Point2D getOffset()
public void setOffset(java.awt.geom.Point2D offset)
offset - New value of property offset.public boolean isShouldFillShape()
public void setShouldFillShape(boolean shouldFillShape)
shouldFillShape - New value of property shouldFillShape.public boolean isShapeMasked()
public void setShapeMasked(boolean shapeMasked)
shapeMasked - New value of property shapeMasked.