public final class GlassEffect extends NodeEffect
Diagram by adding
an instance of this class to the NodeEffects collection.| Constructor and Description |
|---|
GlassEffect()
Initializes a new instance of the
GlassEffect class. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
NodeEffect.clone() override. |
Color |
getGlowColor()
Gets the color of the glow portion of the effect.
|
Color |
getReflectionColor()
Gets the color of the reflection portion of the effect.
|
GlassEffectType |
getType()
Gets the type of the glass effect.
|
boolean |
getUsePenAsGlow()
Gets a value indicating whether the glow portion of the effect
should be painted with the Pen color of the respective node.
|
void |
readExternal(java.io.ObjectInput in)
|
void |
setGlowColor(Color value)
Sets the color of the glow portion of the effect.
|
void |
setReflectionColor(Color value)
Sets the color of the reflection portion of the effect.
|
void |
setType(GlassEffectType value)
Sets the type of the glass effect.
|
void |
setUsePenAsGlow(boolean value)
Sets a value indicating whether the glow portion of the effect
should be painted with the Pen color of the respective node.
|
void |
writeExternal(java.io.ObjectOutput out)
|
addPropertyChangeListener, removePropertyChangeListenerpublic GlassEffect()
GlassEffect class.public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.ExternalizablewriteExternal in class NodeEffectjava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizablereadExternal in class NodeEffectjava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic java.lang.Object clone()
NodeEffect.clone() override.clone in class NodeEffectpublic GlassEffectType getType()
public void setType(GlassEffectType value)
public Color getGlowColor()
public void setGlowColor(Color value)
public boolean getUsePenAsGlow()
public void setUsePenAsGlow(boolean value)
public Color getReflectionColor()
public void setReflectionColor(Color value)