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:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.9.0.0 (20.9.0)
Syntax
C#
public sealed class TextureBrush : Brush

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, WrapMode)
Initializes a new instance of the TextureBrush class that uses the specified image and wrap mode.
Public methodTextureBrush(Image, RectangleF)
Initializes a new instance of the TextureBrush class that uses the specified image, 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.
Public methodTextureBrush(Image, RectangleF, ImageAttributes)
Initializes a new instance of the TextureBrush class that uses the specified image, bounding rectangle, and image attributes.
Properties
  NameDescription
Public propertyImage
Gets the Image object associated with this TextureBrush object.
Public propertyTransform
Gets or sets a copy of the Matrix object that defines a local geometric transformation for the image associated with this TextureBrush object.
Public propertyWrapMode
Gets or sets a WrapMode enumeration that indicates the wrap mode for this TextureBrush object.
Methods
  NameDescription
Public methodClone
Creates an exact copy of this TextureBrush object.
(Overrides BrushClone.)
Public methodDispose
Releases all resources used by this Brush object.
(Inherited from Brush.)
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodMultiplyTransform(Matrix)
Multiplies the Matrix object that represents the local geometric transformation of this TextureBrush object by the specified Matrix object by prepending the specified Matrix object.
Public methodMultiplyTransform(Matrix, MatrixOrder)
Multiplies the Matrix object that represents the local geometric transformation of this TextureBrush object by the specified Matrix object in the specified order.
Public methodResetTransform
Resets the Transform property of this TextureBrush object to identity.
Public methodRotateTransform(Single)
Rotates the local geometric transformation of this TextureBrush object by the specified amount. This method prepends the rotation to the transformation.
Public methodRotateTransform(Single, MatrixOrder)
Rotates the local geometric transformation of this TextureBrush object by the specified amount in the specified order.
Public methodScaleTransform(Single, Single)
Scales the local geometric transformation of this TextureBrush object by the specified amounts. This method prepends the scaling matrix to the transformation.
Public methodScaleTransform(Single, Single, MatrixOrder)
Scales the local geometric transformation of this TextureBrush object by the specified amounts in the specified order.
Public methodToString (Inherited from Object.)
Public methodTranslateTransform(Single, Single)
Translates the local geometric transformation of this TextureBrush object by the specified dimensions. This method prepends the translation to the transformation.
Public methodTranslateTransform(Single, Single, MatrixOrder)
Translates the local geometric transformation of this TextureBrush object by the specified dimensions in the specified order.
See Also