Name

WrapMode

Synopsis

This enumeration is used by the various gradient brushes to determine how the pixels outside a brush’s Rectangle are to be filled.


public enum WrapMode {

   Tile = 0,

   TileFlipX = 1,

   TileFlipY = 2,

   TileFlipXY = 3,

   Clamp = 4

}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable, System.IConvertible) WrapMode

Returned By

LinearGradientBrush.WrapMode, PathGradientBrush.WrapMode, System.Drawing.TextureBrush.WrapMode

Passed To

LinearGradientBrush.WrapMode, PathGradientBrush.{PathGradientBrush(), WrapMode}, System.Drawing.Imaging.ImageAttributes.SetWrapMode(), System.Drawing.TextureBrush.{TextureBrush(), WrapMode}

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.