DekGenius.com
[ Team LiB ] Previous Section Next Section

WarpModeserializable

System.Drawing.Drawing2D (system.drawing.dll)enum

When using the GraphicsPath.Warp() method, this enumeration defines how the warp is applied. A bilinear warp preserves horizontal and vertical lines and distorts other lines into curves, whereas a perspective warp preserves straight lines but foreshortens the image, distorting parallel lines.

public enum WarpMode {
   Perspective = 0,
   Bilinear = 1
}

Hierarchy

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

Passed To

GraphicsPath.Warp()

    [ Team LiB ] Previous Section Next Section