Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

GraphicsPath.Warp Method (PointF[], RectangleF, Matrix, WarpMode)

Applies a warp transform, defined by a rectangle and a parallelogram, to this GraphicsPath.

Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing (in system.drawing.dll)

public void Warp (
	PointF[] destPoints,
	RectangleF srcRect,
	Matrix matrix,
	WarpMode warpMode
)
public void Warp (
	PointF[] destPoints, 
	RectangleF srcRect, 
	Matrix matrix, 
	WarpMode warpMode
)
public function Warp (
	destPoints : PointF[], 
	srcRect : RectangleF, 
	matrix : Matrix, 
	warpMode : WarpMode
)
Not applicable.

Parameters

destPoints

An array of PointF structures that defines a parallelogram to which the rectangle defined by srcRect is transformed. The array can contain either three or four elements. If the array contains three elements, the lower-right corner of the parallelogram is implied by the first three points.

srcRect

A RectangleF that represents the rectangle that is transformed to the parallelogram defined by destPoints.

matrix

A Matrix that specifies a geometric transform to apply to the path.

warpMode

A WarpMode enumeration that specifies whether this warp operation uses perspective or bilinear mode.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2015 Microsoft