Back to Devexpress

DXMatrix.CreateWarpMatrix(RectangleF, IReadOnlyList<PointF>) Method

corelibraries-devexpress-dot-drawing-dot-dxmatrix-dot-createwarpmatrix-x28-system-dot-drawing-dot-rectanglef-system-dot-collections-dot-generic-dot-ireadonlylist-system-dot-drawing-dot-pointf-x29.md

latest1.9 KB
Original Source

DXMatrix.CreateWarpMatrix(RectangleF, IReadOnlyList<PointF>) Method

Creates a new matrix based on the current matrix and applies a warp transform.

Namespace : DevExpress.Drawing

Assembly : DevExpress.Drawing.v25.2.dll

NuGet Package : DevExpress.Drawing

Declaration

csharp
public static DXMatrix CreateWarpMatrix(
    RectangleF source,
    IReadOnlyList<PointF> destinationPoints
)
vb
Public Shared Function CreateWarpMatrix(
    source As RectangleF,
    destinationPoints As IReadOnlyList(Of PointF)
) As DXMatrix

Parameters

NameTypeDescription
sourceRectangleF

The rectangle that is transformed to the parallelogram defined by destination points.

| | destinationPoints | IReadOnlyList<PointF> |

An array of points that define a parallelogram to which the source rectangle is transformed.

|

Returns

TypeDescription
DXMatrix

The resulting transformation matrix.

|

See Also

DXMatrix Class

DXMatrix Members

DevExpress.Drawing Namespace