System.Drawing.Drawing2D.WrapMode Enumeration

Specifies how a texture or gradient is tiled when it is smaller than the area being filled.

Syntax

public enum WrapMode

Remarks

Brushes use this enumeration to determine how shapes are filled. To see examples of the effects the System.Drawing.Drawing2D.WrapMode enumeration values have on a tiled image, see How To: Tile a Shape with an Image.

Members

Member NameDescription
Clamp

The texture or gradient is not tiled.

Tile

Tiles the gradient or texture.

TileFlipX

Reverses the texture or gradient horizontally and then tiles the texture or gradient.

TileFlipXY

Reverses the texture or gradient horizontally and vertically and then tiles the texture or gradient.

TileFlipY

Reverses the texture or gradient vertically and then tiles the texture or gradient.

Requirements

Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0