Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WrapMode Enumeration

WrapMode Enumeration

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

[Visual Basic]
<Serializable>
Public Enum WrapMode
[C#]
[Serializable]
public enum WrapMode
[C++]
[Serializable]
__value public enum WrapMode
[JScript]
public
   Serializable
enum WrapMode

Remarks

Brushes use this enumeration to determine how shapes are filled.

Members

Member name Description
Clamp Clamps the texture or gradient to the object boundary.
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

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

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

See Also

System.Drawing.Drawing2D Namespace

Show:
© 2015 Microsoft