ShadowFormat
Overview
ShadowFormat is a class in Aspose.Words FOSS for Java.
Represents shadow formatting for an object.
Edition status of its 12 listed members (a property and its accessor methods are listed separately, overloads once): 12 not yet exercised by a verified example.
This class declares 8 methods for ShadowFormat objects in Java programs.
Available methods include: clear, getColor, getTransparency, getType, getVisible, setColor, setTransparency, setType.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: color, transparency, type, visible.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
type | int | Read/Write | Gets or sets the specified ShadowType for ShadowFormat. |
visible | boolean | Read | Returns true if the formatting applied to this instance is visible. |
color | Color | Read/Write | Gets or sets a Color object that represents the color for the shadow. |
transparency | double | Read/Write | Gets or sets the degree of transparency for the shadow effect as a value between 0.0 (opaque) and 1.0 (clear). |
Methods
| Signature | Description |
|---|---|
clear() | Clears shadow format. |
getType() → int | Gets or sets the specified ShadowType for ShadowFormat. |
setType(value: int) | Sets the type value. |
getVisible() → boolean | Returns true if the formatting applied to this instance is visible. |
getColor() → Color | Gets or sets a Color object that represents the color for the shadow. |
setColor(value: Color) | Sets the color value. |
getTransparency() → double | Gets or sets the degree of transparency for the shadow effect as a value between 0.0 (opaque) and 1.0 (clear). |
setTransparency(value: double) | Sets the transparency value. |