public class Shading extends InternableComplexAttr implements java.lang.Cloneable
| Modifier and Type | Method and Description |
|---|---|
void |
clearFormatting()
Removes shading from the object.
|
boolean |
equals(java.lang.Object obj)
Determines whether the specified object is equal in value to the current object.
|
boolean |
equals(Shading rhs)
Determines whether the specified Shading is equal in value to the current Shading.
|
java.awt.Color |
getBackgroundPatternColor()
Gets the color that's applied to the background of the Shading object.
|
java.awt.Color |
getForegroundPatternColor()
Gets the color that's applied to the foreground of the Shading object.
|
int |
getTexture()
Gets the shading texture.
|
int |
hashCode() |
boolean |
isInheritedComplexAttr() |
protected java.lang.Object |
memberwiseClone() |
void |
setBackgroundPatternColor(java.awt.Color value)
Sets the color that's applied to the background of the Shading object.
|
void |
setForegroundPatternColor(java.awt.Color value)
Sets the color that's applied to the foreground of the Shading object.
|
void |
setTexture(int value)
Sets the shading texture.
|
notifyChangingpublic void clearFormatting()
public boolean equals(Shading rhs)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean isInheritedComplexAttr()
public java.awt.Color getBackgroundPatternColor()
public void setBackgroundPatternColor(java.awt.Color value)
value - The color that's applied to the background of the Shading object.public java.awt.Color getForegroundPatternColor()
public void setForegroundPatternColor(java.awt.Color value)
value - The color that's applied to the foreground of the Shading object.public int getTexture()
TextureIndex constants.public void setTexture(int value)
value - The shading texture. The value must be one of TextureIndex constants.protected java.lang.Object memberwiseClone()