TextureBrush
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.signature.domain.extensions.Brush
public class TextureBrush extends Brush
Represents texture brush.
| Constructor | Description |
|---|---|
| TextureBrush() | Initializes a new instance of the TextureBrush class with default values. |
| TextureBrush(String imageFilePath) | Initializes a new instance of the TextureBrush class with image file. |
| TextureBrush(InputStream imageStream) | Initializes a new instance of the TextureBrush class with image stream option. |
| Method | Description |
|---|---|
| getImageFilePath() | Gets or sets the texture image file path. |
| setImageFilePath(String value) | Gets or sets the texture image file path. |
| getImageStream() | Gets or sets the texture image stream. |
| setImageStream(InputStream value) | Gets or sets the texture image stream. |
public TextureBrush()
Initializes a new instance of the TextureBrush class with default values.
public TextureBrush(String imageFilePath)
Initializes a new instance of the TextureBrush class with image file.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| imageFilePath | java.lang.String | Image file path. |
public TextureBrush(InputStream imageStream)
Initializes a new instance of the TextureBrush class with image stream option.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| imageStream | java.io.InputStream | Image stream. |
public final String getImageFilePath()
Gets or sets the texture image file path. This property is used only if ImageStream is not specified.
Returns: java.lang.String
public final void setImageFilePath(String value)
Gets or sets the texture image file path. This property is used only if ImageStream is not specified.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final InputStream getImageStream()
Gets or sets the texture image stream. If this property is specified it is always used instead ImageFilePath.
Returns: java.io.InputStream
public final void setImageStream(InputStream value)
Gets or sets the texture image stream. If this property is specified it is always used instead ImageFilePath.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.io.InputStream |
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.