Skip to main content
All docs
V25.1
  • DXMatrix.CreateWarpMatrix(RectangleF, RectangleF) Method

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

    Namespace: DevExpress.Drawing

    Assembly: DevExpress.Drawing.v25.1.dll

    NuGet Package: DevExpress.Drawing

    Declaration

    public static DXMatrix CreateWarpMatrix(
        RectangleF src,
        RectangleF dst
    )

    Parameters

    Name Type Description
    src RectangleF

    The rectangle that changes into a parallelogram with the shape of the destination rectangle.

    dst RectangleF

    A parallelogram to which the source rectangle is transformed.

    Returns

    Type Description
    DXMatrix

    The resulting transformation matrix.

    See Also