TextureBrush Constructor (Image, RectangleF)

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

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
)

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.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe image is null.
See Also