WrapMode

System.Drawing.Drawing2D.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.

public enum WrapMode : 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

Gets or sets a WrapMode enumeration that indicates the wrap mode for this TextureBrush object.

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.

Gets or sets a WrapMode enumeration that indicates the wrap mode for this LinearGradientBrush.

Gets or sets a WrapMode enumeration that indicates the wrap mode for this PathGradientBrush.

Last updated

Was this helpful?