TextureBrush Class
Each property of the TextureBrush class is a Brush object that uses an image to fill the interior of a shape. This class cannot be inherited.
Inheritance Hierarchy

Namespace: Aspose.Imaging.Brushes
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.04
Syntax
[SerializableAttribute]
public sealed class TextureBrush : TransformBrush

The TextureBrush type exposes the following members.

Constructors
  NameDescription
Public methodTextureBrush(Image)
Initializes a new instance of the TextureBrush class that uses the specified image.
Public methodTextureBrush(Image, Rectangle)
Initializes a new instance of the TextureBrush class that uses the specified image and bounding rectangle.
Public methodTextureBrush(Image, RectangleF)
Initializes a new instance of the TextureBrush class that uses the specified image and bounding rectangle.
Public methodTextureBrush(Image, WrapMode)
Initializes a new instance of the TextureBrush class that uses the specified image and wrap mode.
Public methodTextureBrush(Image, Rectangle, ImageAttributes)
Initializes a new instance of the TextureBrush class that uses the specified image, bounding rectangle, and image attributes.
Public methodTextureBrush(Image, RectangleF, ImageAttributes)
Initializes a new instance of the TextureBrush class that uses the specified image, bounding rectangle, and image attributes.
Public methodTextureBrush(Image, WrapMode, Rectangle)
Initializes a new instance of the TextureBrush class that uses the specified image, wrap mode, and bounding rectangle.
Public methodTextureBrush(Image, WrapMode, RectangleF)
Initializes a new instance of the TextureBrush class that uses the specified image, wrap mode, and bounding rectangle.
Properties
  NameDescription
Public propertyDisposed
Gets a value indicating whether this instance is disposed.
(Inherited from DisposableObject.)
Public propertyImage
Gets the Image object associated with this TextureBrush object.
Public propertyImageAttributes
Gets the ImageAttributes associated with this TextureBrush.
Public propertyImageRectangle
Gets the Rectangle associated with this TextureBrush.
Public propertyIsTransformChanged
Gets a value indicating whether transformations were changed in some way. For example setting the transformation matrix or calling any of the methods altering the transformation matrix. The property is introduced for backward compatibility with GDI+.
(Inherited from TransformBrush.)
Public propertyCode exampleOpacity
Gets or sets the brush opacity. The value should be between 0 and 1. Value of 0 means that brush is fully visible, value of 1 means the brush is fully opaque.
(Inherited from Brush.)
Public propertyTransform
Gets or sets a copy Matrix that defines a local geometric transform for this TransformBrush.
(Inherited from TransformBrush.)
Public propertyWrapMode
Gets or sets a WrapMode enumeration that indicates the wrap mode for this TransformBrush.
(Inherited from TransformBrush.)
Methods
  NameDescription
Public methodDeepClone
Creates a new deep clone of the current Brush.
(Inherited from Brush.)
Public methodCode exampleDispose
Disposes the current instance.
(Inherited from DisposableObject.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodMultiplyTransform(Matrix)
Multiplies the Matrix that represents the local geometric transform of this LinearGradientBrush by the specified Matrix by prepending the specified Matrix.
(Inherited from TransformBrush.)
Public methodMultiplyTransform(Matrix, MatrixOrder)
Multiplies the Matrix that represents the local geometric transform of this LinearGradientBrush by the specified Matrix in the specified order.
(Inherited from TransformBrush.)
Public methodResetTransform
Resets the Transform property to identity.
(Inherited from TransformBrush.)
Public methodRotateTransform(Single)
Rotates the local geometric transform by the specified amount. This method prepends the rotation to the transform.
(Inherited from TransformBrush.)
Public methodRotateTransform(Single, MatrixOrder)
Rotates the local geometric transform by the specified amount in the specified order.
(Inherited from TransformBrush.)
Public methodScaleTransform(Single, Single)
Scales the local geometric transform by the specified amounts. This method prepends the scaling matrix to the transform.
(Inherited from TransformBrush.)
Public methodScaleTransform(Single, Single, MatrixOrder)
Scales the local geometric transform by the specified amounts in the specified order.
(Inherited from TransformBrush.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTranslateTransform(Single, Single)
Translates the local geometric transform by the specified dimensions. This method prepends the translation to the transform.
(Inherited from TransformBrush.)
Public methodTranslateTransform(Single, Single, MatrixOrder)
Translates the local geometric transform by the specified dimensions in the specified order.
(Inherited from TransformBrush.)
See Also