com.groupdocs.signature.domain.extensions

Class TextureBrush



  • public class TextureBrush
    extends Brush

    Represents texture brush.

    • Constructor Detail

      • TextureBrush

        public TextureBrush()

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

      • TextureBrush

        public TextureBrush(InputStream imageStream)

        Initializes a new instance of the TextureBrush class with image stream option.

        Parameters:
        imageStream - Image stream.
      • TextureBrush

        public TextureBrush(String imageFilePath)

        Initializes a new instance of the TextureBrush class with image file.

        Parameters:
        imageFilePath - Image file path.
    • Method Detail

      • getImageFilePath

        public final String getImageFilePath()

        Gets or sets the texture image file path. This property is used only if ImageStream is not specified.

      • getImageStream

        public final InputStream getImageStream()

        Gets or sets the texture image stream. If this property is specified it is always used instead ImageFilePath.

      • setImageFilePath

        public final void setImageFilePath(String value)

        Gets or sets the texture image file path. This property is used only if ImageStream is not specified.

      • setImageStream

        public final void setImageStream(InputStream value)

        Gets or sets the texture image stream. If this property is specified it is always used instead ImageFilePath.