Skip to main content
All docs
V25.1
  • 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.1.dll

    NuGet Package: DevExpress.Drawing

    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