TextureBrush

Inheritance: java.lang.Object, com.groupdocs.signature.domain.extensions.Brush

public class TextureBrush extends Brush

Represents texture brush.

Constructors

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.

Methods

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.

TextureBrush()

public TextureBrush()

Initializes a new instance of the TextureBrush class with default values.

TextureBrush(String imageFilePath)

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.

TextureBrush(InputStream imageStream)

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.

getImageFilePath()

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

setImageFilePath(String value)

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

getImageStream()

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

setImageStream(InputStream value)

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