TextShadow
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.signature.domain.extensions.signoptions.SignatureExtension
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 | Description |
|---|---|
| TextShadow() | Creates TextShadow with default options. |
| Method | Description |
|---|---|
| getDistance() | Gets or sets distance from text to shadow. |
| setDistance(double value) | Gets or sets distance from text to shadow. |
| getAngle() | Gets or sets angle for placing shadow relative to the text. |
| setAngle(double value) | Gets or sets angle for placing shadow relative to the text. |
| getColor() | Gets or sets color of the shadow. |
| setColor(Color value) | Gets or sets color of the shadow. |
| setColor(String value) | Gets or sets color of the shadow. |
| getTransparency() | Gets or sets transparency of the shadow. |
| setTransparency(double value) | Gets or sets transparency of the shadow. |
| getBlur() | Gets or sets blur of the shadow. |
| setBlur(double value) | Gets or sets blur of the shadow. |
public TextShadow()
Creates TextShadow with default options.
public final double getDistance()
Gets or sets distance from text to shadow. Default value is 1.
Returns: double
public final void setDistance(double value)
Gets or sets distance from text to shadow. Default value is 1.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
public final double getAngle()
Gets or sets angle for placing shadow relative to the text. Default value is 0.
Returns: double
public final void setAngle(double value)
Gets or sets angle for placing shadow relative to the text. Default value is 0.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
public final Color getColor()
Gets or sets color of the shadow. Default value is Black.
Returns: java.awt.Color
public final void setColor(Color value)
Gets or sets color of the shadow. Default value is Black.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.awt.Color |
public final void setColor(String value)
Gets or sets color of the shadow. Default value is Black.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final double getTransparency()
Gets or sets transparency of the shadow. Default value is 0.
Returns: double
public final void setTransparency(double value)
Gets or sets transparency of the shadow. Default value is 0.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
public final double getBlur()
Gets or sets blur of the shadow. Default value is 4.
Returns: double
public final void setBlur(double value)
Gets or sets blur of the shadow. Default value is 4.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.