com.aspose.words
Class Shading

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

public class Shading 
extends java.lang.Object

Contains shading attributes for an object.

Property Getters/Setters Summary
java.awt.ColorgetBackgroundPatternColor()
voidsetBackgroundPatternColor(java.awt.Color value)
           Gets or sets the color that's applied to the background of the Shading object.
java.awt.ColorgetForegroundPatternColor()
voidsetForegroundPatternColor(java.awt.Color value)
           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.
com.aspose.words.IComplexAttrdeepCloneComplexAttr()
          Reserved for internal use.
booleanequals(Aspose.Words.IEquatableAttr rhs)
          Reserved for internal use.
booleanisInherited()
          Reserved for internal use.
 

Property Getters/Setters Detail

getBackgroundPatternColor/setBackgroundPatternColor

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

getForegroundPatternColor/setForegroundPatternColor

public java.awt.Color getForegroundPatternColor() / public void setForegroundPatternColor(java.awt.Color value)
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.

isInherited

public boolean isInherited()
Reserved for internal use.

deepCloneComplexAttr

public com.aspose.words.IComplexAttr deepCloneComplexAttr()
                                 throws java.lang.Exception
Reserved for internal use.

equals

public boolean equals(Aspose.Words.IEquatableAttr rhs)
              throws java.lang.Exception
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.