WrapMode
Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing.Managed (4.0.0.0)
Specifies how a texture or gradient is tiled when it is smaller than the area being filled.
- C#
- VB.NET
public enum WrapMode : Enum
Public Enum WrapMode As [Enum]
Fields
| Name | Description |
|---|---|
| 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. |
Used By
| Name | Description |
|---|---|
| TextureBrush.WrapMode | Gets or sets a WrapMode enumeration that indicates the wrap mode for this TextureBrush object. |
| ImageAttributes.SetWrapMode | Sets the wrap mode that is used to decide how to tile a texture across a shape, or at shape boundaries. A texture is tiled across a shape to fill it in when the texture is smaller than the shape it is filling. |
| LinearGradientBrush.WrapMode | Gets or sets a WrapMode enumeration that indicates the wrap mode for this LinearGradientBrush. |
| PathGradientBrush.WrapMode | Gets or sets a WrapMode enumeration that indicates the wrap mode for this PathGradientBrush. |