TextureBrush Constructor (Image, WrapMode)

 

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

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

public TextureBrush(
	Image image,
	WrapMode wrapMode
)

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.

.NET Framework
Available since 1.1
Return to top
Show: