Export (0) Print
Expand All

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

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
)
public void Warp (
	PointF[] destPoints, 
	RectangleF srcRect, 
	Matrix matrix
)
public function Warp (
	destPoints : PointF[], 
	srcRect : RectangleF, 
	matrix : Matrix
)
Not applicable.

Parameters

destPoints

An array of PointF structures that define 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.

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