TextureBrush Constructor (Image, WrapMode, Rectangle)

 

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

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

public TextureBrush(
	Image image,
	WrapMode wrapMode,
	Rectangle dstRect
)

Parameters

image
Type: System.Drawing.Image

The Image object with which this TextureBrush object fills interiors.

wrapMode
Type: System.Drawing.Drawing2D.WrapMode

A WrapMode enumeration that specifies how this TextureBrush object is tiled.

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: