Packages

 

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 imageGuid)

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

        Parameters:
        imageGuid - Image file Guid.
    • Method Detail

      • getImageGuid

        public final String getImageGuid()

        Gets or sets the texture image file Guid. 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 ImageGuid.

      • setImageGuid

        public final void setImageGuid(String value)

        Gets or sets the texture image file Guid. 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 ImageGuid.