This documentation is archived and is not being maintained.

TextureBrush Constructor

.NET Framework 1.1

Initializes a new TextureBrush object that uses the specified image.

Overload List

Initializes a new TextureBrush object that uses the specified image.

[Visual Basic] Public Sub New(Image)
[C#] public TextureBrush(Image);
[C++] public: TextureBrush(Image*);
[JScript] public function TextureBrush(Image);

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

[Visual Basic] Public Sub New(Image, Rectangle)
[C#] public TextureBrush(Image, Rectangle);
[C++] public: TextureBrush(Image*, Rectangle);
[JScript] public function TextureBrush(Image, Rectangle);

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

[Visual Basic] Public Sub New(Image, RectangleF)
[C#] public TextureBrush(Image, RectangleF);
[C++] public: TextureBrush(Image*, RectangleF);
[JScript] public function TextureBrush(Image, RectangleF);

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

[Visual Basic] Public Sub New(Image, WrapMode)
[C#] public TextureBrush(Image, WrapMode);
[C++] public: TextureBrush(Image*, WrapMode);
[JScript] public function TextureBrush(Image, WrapMode);

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

[Visual Basic] Public Sub New(Image, Rectangle, ImageAttributes)
[C#] public TextureBrush(Image, Rectangle, ImageAttributes);
[C++] public: TextureBrush(Image*, Rectangle, ImageAttributes*);
[JScript] public function TextureBrush(Image, Rectangle, ImageAttributes);

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

[Visual Basic] Public Sub New(Image, RectangleF, ImageAttributes)
[C#] public TextureBrush(Image, RectangleF, ImageAttributes);
[C++] public: TextureBrush(Image*, RectangleF, ImageAttributes*);
[JScript] public function TextureBrush(Image, RectangleF, ImageAttributes);

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

[Visual Basic] Public Sub New(Image, WrapMode, Rectangle)
[C#] public TextureBrush(Image, WrapMode, Rectangle);
[C++] public: TextureBrush(Image*, WrapMode, Rectangle);
[JScript] public function TextureBrush(Image, WrapMode, Rectangle);

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

[Visual Basic] Public Sub New(Image, WrapMode, RectangleF)
[C#] public TextureBrush(Image, WrapMode, RectangleF);
[C++] public: TextureBrush(Image*, WrapMode, RectangleF);
[JScript] public function TextureBrush(Image, WrapMode, RectangleF);

See Also

TextureBrush Class | TextureBrush Members | System.Drawing Namespace

Show: