Skip to main content
All docs
V24.2

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.v24.2.dll

Declaration

public static DXMatrix CreateWarpMatrix(
    RectangleF source,
    IReadOnlyList<PointF> destinationPoints
)

Parameters

Name Type Description
source RectangleF

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

Type Description
DXMatrix

The resulting transformation matrix.

See Also