TextureBrush Constructor (Image, RectangleF, ImageAttributes)

Initializes a new instance of the TextureBrush class that uses the specified image, bounding rectangle, and image attributes.

Namespace:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.9.0.0 (20.9.0)
Syntax
C#
public TextureBrush(
	Image image,
	RectangleF dstRect,
	ImageAttributes imageAttr
)

Parameters

image
Type: System.DrawingImage
The Image object with which this TextureBrush object fills interiors.
dstRect
Type: System.DrawingRectangleF
A RectangleF structure that represents the bounding rectangle for this TextureBrush object.
imageAttr
Type: System.Drawing.ImagingImageAttributes
An ImageAttributes object that contains additional information about the image used by this TextureBrush object.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe image is null.
See Also