2.1.1.33 WrapMode Enumeration

The WrapMode enumeration defines how the pattern from a texture or gradient brush is tiled across a shape or at shape boundaries, when it is smaller than the area being filled.

 typedef  enum 
 {
   WrapModeTile = 0x00000000,
   WrapModeTileFlipX = 0x00000001,
   WrapModeTileFlipY = 0x00000002,
   WrapModeTileFlipXY = 0x00000003,
   WrapModeClamp = 0x00000004
 } WrapMode;

WrapModeTile:  Tiles the gradient or texture.

WrapModeTileFlipX:  Reverses the texture or gradient horizontally, and then tiles the texture or gradient.

WrapModeTileFlipY:  Reverses the texture or gradient vertically, and then tiles the texture or gradient.

WrapModeTileFlipXY:  Reverses the texture or gradient horizontally and vertically, and then tiles the texture or gradient.

WrapModeClamp:  Fixes the texture or gradient to the object boundary.

See section 2.1.1 for the specification of additional enumerations.