Back to Devexpress

DXMatrix.CreateWarpMatrix(RectangleF, RectangleF) Method

corelibraries-devexpress-dot-drawing-dot-dxmatrix-dot-createwarpmatrix-x28-system-dot-drawing-dot-rectanglef-system-dot-drawing-dot-rectanglef-x29.md

latest1.6 KB
Original Source

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

NuGet Package : DevExpress.Drawing

Declaration

csharp
public static DXMatrix CreateWarpMatrix(
    RectangleF src,
    RectangleF dst
)
vb
Public Shared Function CreateWarpMatrix(
    src As RectangleF,
    dst As RectangleF
) As DXMatrix

Parameters

NameTypeDescription
srcRectangleF

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

TypeDescription
DXMatrix

The resulting transformation matrix.

|

See Also

DXMatrix Class

DXMatrix Members

DevExpress.Drawing Namespace