public class TextShadow extends SignatureExtension
Represents text shadow properties for text signatures. The result may vary depending on the signature type and document format. TextShadow is recommended for using with TextAsImage signature for all supported document types, also with simple TextSignature and TextSignature as watermark for Cells (.xslx) and Slides (.pptx). Simple TextSignature for Words (.docx) is recommended too, but has limited functionality.
Constructor and Description |
---|
TextShadow()
Creates TextShadow with default options.
|
Modifier and Type | Method and Description |
---|---|
double |
getAngle()
Gets or sets angle for placing shadow relative to the text.
|
double |
getBlur()
Gets or sets blur of the shadow.
|
Color |
getColor()
Gets or sets color of the shadow.
|
double |
getDistance()
Gets or sets distance from text to shadow.
|
double |
getTransparency()
Gets or sets transparency of the shadow.
|
void |
setAngle(double value)
Gets or sets angle for placing shadow relative to the text.
|
void |
setBlur(double value)
Gets or sets blur of the shadow.
|
void |
setColor(Color value)
Gets or sets color of the shadow.
|
void |
setDistance(double value)
Gets or sets distance from text to shadow.
|
void |
setTransparency(double value)
Gets or sets transparency of the shadow.
|
deepClone, memberwiseClone
public final double getAngle()
Gets or sets angle for placing shadow relative to the text. Default value is 0.
public final double getBlur()
Gets or sets blur of the shadow. Default value is 4.
public final Color getColor()
Gets or sets color of the shadow. Default value is Black.
public final double getDistance()
Gets or sets distance from text to shadow. Default value is 1.
public final double getTransparency()
Gets or sets transparency of the shadow. Default value is 0.
public final void setAngle(double value)
Gets or sets angle for placing shadow relative to the text. Default value is 0.
public final void setBlur(double value)
Gets or sets blur of the shadow. Default value is 4.
public final void setColor(Color value)
Gets or sets color of the shadow. Default value is Black.
public final void setDistance(double value)
Gets or sets distance from text to shadow. Default value is 1.
public final void setTransparency(double value)
Gets or sets transparency of the shadow. Default value is 0.