Shading

Overview

Shading is a class in Aspose.Words FOSS for Java. Inherits from: InternableComplexAttr, IComplexAttr, Cloneable.

Contains shading attributes for an object.

Edition status of its 24 listed members (a property and its accessor methods are listed separately, overloads once): 24 not yet exercised by a verified example.

This class declares 18 methods for Shading objects in Java programs. Available methods include: clearFormatting, equals, getBackgroundPatternColor, getBackgroundPatternThemeColor, getBackgroundTintAndShade, getForegroundPatternColor, getForegroundPatternThemeColor, getForegroundTintAndShade, getTexture, hashCode, setBackgroundPatternColor, setBackgroundPatternThemeColor, and 5 additional methods. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: backgroundPatternColor, backgroundPatternThemeColor, backgroundTintAndShade, foregroundPatternColor, foregroundPatternThemeColor, foregroundTintAndShade, and 1 more.

Properties

NameTypeAccessDescription
backgroundPatternColorColorRead/WriteGets or sets the color that’s applied to the background of the Shading object.
foregroundPatternColorColorRead/WriteGets or sets the color that’s applied to the foreground of the Shading object.
textureintRead/WriteGets or sets the shading texture.
foregroundPatternThemeColorintRead/WriteGets or sets the foreground pattern theme color in the applied color scheme that is associated with this Shading object.
backgroundPatternThemeColorintRead/WriteGets or sets the background pattern theme color in the applied color scheme that is associated with this Shading object.
foregroundTintAndShadedoubleRead/WriteGets or sets a double value that lightens or darkens a foreground theme color.
backgroundTintAndShadedoubleRead/WriteGets or sets a double value that lightens or darkens a background theme color.

Methods

SignatureDescription
clearFormatting()Removes shading from the object.
equals(rhs: Shading) → booleanDetermines whether the specified Shading is equal in value to the current Shading.
equals(obj: Object) → booleanDetermines whether the specified object is equal in value to the current object.
hashCode() → intServes as a hash function for this type.
getBackgroundPatternColor() → ColorGets or sets the color that’s applied to the background of the Shading object.
setBackgroundPatternColor(value: Color)Sets the background pattern color value.
getForegroundPatternColor() → ColorGets or sets the color that’s applied to the foreground of the Shading object.
setForegroundPatternColor(value: Color)Sets the foreground pattern color value.
getTexture() → intGets or sets the shading texture.
setTexture(value: int)Sets the texture value.
getForegroundPatternThemeColor() → intGets or sets the foreground pattern theme color in the applied color scheme that is associated with this Shading object.
setForegroundPatternThemeColor(value: int)Sets the foreground pattern theme color value.
getBackgroundPatternThemeColor() → intGets or sets the background pattern theme color in the applied color scheme that is associated with this Shading object.
setBackgroundPatternThemeColor(value: int)Sets the background pattern theme color value.
getForegroundTintAndShade() → doubleGets or sets a double value that lightens or darkens a foreground theme color.
setForegroundTintAndShade(value: double)Sets the foreground tint and shade value.
getBackgroundTintAndShade() → doubleGets or sets a double value that lightens or darkens a background theme color.
setBackgroundTintAndShade(value: double)Sets the background tint and shade value.

See Also