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
| Name | Type | Access | Description |
|---|---|---|---|
backgroundPatternColor | Color | Read/Write | Gets or sets the color that’s applied to the background of the Shading object. |
foregroundPatternColor | Color | Read/Write | Gets or sets the color that’s applied to the foreground of the Shading object. |
texture | int | Read/Write | Gets or sets the shading texture. |
foregroundPatternThemeColor | int | Read/Write | Gets or sets the foreground pattern theme color in the applied color scheme that is associated with this Shading object. |
backgroundPatternThemeColor | int | Read/Write | Gets or sets the background pattern theme color in the applied color scheme that is associated with this Shading object. |
foregroundTintAndShade | double | Read/Write | Gets or sets a double value that lightens or darkens a foreground theme color. |
backgroundTintAndShade | double | Read/Write | Gets or sets a double value that lightens or darkens a background theme color. |
Methods
| Signature | Description |
|---|---|
clearFormatting() | Removes shading from the object. |
equals(rhs: Shading) → boolean | Determines whether the specified Shading is equal in value to the current Shading. |
equals(obj: Object) → boolean | Determines whether the specified object is equal in value to the current object. |
hashCode() → int | Serves as a hash function for this type. |
getBackgroundPatternColor() → Color | Gets or sets the color that’s applied to the background of the Shading object. |
setBackgroundPatternColor(value: Color) | Sets the background pattern color value. |
getForegroundPatternColor() → Color | Gets or sets the color that’s applied to the foreground of the Shading object. |
setForegroundPatternColor(value: Color) | Sets the foreground pattern color value. |
getTexture() → int | Gets or sets the shading texture. |
setTexture(value: int) | Sets the texture value. |
getForegroundPatternThemeColor() → int | Gets 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() → int | Gets 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() → double | Gets or sets a double value that lightens or darkens a foreground theme color. |
setForegroundTintAndShade(value: double) | Sets the foreground tint and shade value. |
getBackgroundTintAndShade() → double | Gets or sets a double value that lightens or darkens a background theme color. |
setBackgroundTintAndShade(value: double) | Sets the background tint and shade value. |