TextureBrush Constructor (Image, Rectangle)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 1.1
Return to top
Show: