Export (0) Print
Expand All

TextureBrush Constructor (Image, Rectangle)

Initializes a new TextureBrush object that uses the specified image and bounding rectangle.

Namespace:  System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public TextureBrush(
	Image image,
	Rectangle dstRect
)

Parameters

image
Type: System.Drawing.Image

The Image object with which this TextureBrush object fills interiors.

dstRect
Type: System.Drawing.Rectangle

A Rectangle structure that represents the bounding rectangle for this TextureBrush object.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft