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

NameTypeAccessDescription
typeintRead/WriteGets or sets the specified ShadowType for ShadowFormat.
visiblebooleanReadReturns true if the formatting applied to this instance is visible.
colorColorRead/WriteGets or sets a Color object that represents the color for the shadow.
transparencydoubleRead/WriteGets or sets the degree of transparency for the shadow effect as a value between 0.0 (opaque) and 1.0 (clear).

Methods

SignatureDescription
clear()Clears shadow format.
getType() → intGets or sets the specified ShadowType for ShadowFormat.
setType(value: int)Sets the type value.
getVisible() → booleanReturns true if the formatting applied to this instance is visible.
getColor() → ColorGets or sets a Color object that represents the color for the shadow.
setColor(value: Color)Sets the color value.
getTransparency() → doubleGets 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.

See Also