com.aspose.words
Class Shading

java.lang.Object
  extended by InternableComplexAttr
      extended by com.aspose.words.Shading
All Implemented Interfaces:
java.lang.Cloneable

public class Shading 
extends InternableComplexAttr

Contains shading attributes for an object.

Property Getters/Setters Summary
java.awt.ColorgetBackgroundPatternColor()
           Gets or sets the color that's applied to the background of the Shading object.
java.awt.ColorgetForegroundPatternColor()
           Gets or sets the color that's applied to the foreground of the Shading object.
intgetTexture()
voidsetTexture(int value)
           Gets or sets the shading texture. The value of the property is TextureIndex integer constant.
 
Method Summary
voidclearFormatting()
           Removes shading from the object.
aspose.obfuscated.typedeepCloneComplexAttr()
          Reserved for internal use.
booleanequals(java.lang.Object obj)
           Determines whether the specified object is equal in value to the current object.
inthashCode()
           Serves as a hash function for this type.
booleanisInheritedComplexAttr()
          Reserved for internal use.
 

Property Getters/Setters Detail

getBackgroundPatternColor

public java.awt.Color getBackgroundPatternColor()
Gets or sets the color that's applied to the background of the Shading object.

getForegroundPatternColor

public java.awt.Color getForegroundPatternColor()
Gets or sets the color that's applied to the foreground of the Shading object.

getTexture/setTexture

public int getTexture() / public void setTexture(int value)
Gets or sets the shading texture. The value of the property is TextureIndex integer constant.

Method Detail

clearFormatting

public void clearFormatting()
Removes shading from the object.

deepCloneComplexAttr

public aspose.obfuscated.type deepCloneComplexAttr()
Reserved for internal use.

equals

public boolean equals(java.lang.Object obj)
Determines whether the specified object is equal in value to the current object.

hashCode

public int hashCode()
Serves as a hash function for this type.

isInheritedComplexAttr

public boolean isInheritedComplexAttr()
Reserved for internal use.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.