DXMatrix.CreateWarpMatrix(RectangleF, IReadOnlyList<PointF>) Method
In This Article
Creates a new matrix based on the current matrix and applies a warp transform.
Namespace: DevExpress.Drawing
Assembly: DevExpress.Drawing.v24.2.dll
NuGet Package: DevExpress.Drawing
#Declaration
public static DXMatrix CreateWarpMatrix(
RectangleF source,
IReadOnlyList<PointF> destinationPoints
)
#Parameters
Name | Type | Description |
---|---|---|
source | Rectangle |
The rectangle that is transformed to the parallelogram defined by destination points. |
destination |
IRead |
An array of points that define a parallelogram to which the source rectangle is transformed. |
#Returns
Type | Description |
---|---|
DXMatrix | The resulting transformation matrix. |
See Also