GraphicsPath.Warp
Contents
[
Hide
]Warp(PointF[], RectangleF)
Applies a warp transform, defined by a rectangle and a parallelogram, to this GraphicsPath
.
public void Warp(PointF[] destPoints, RectangleF srcRect)
Parameter | Type | Description |
---|---|---|
destPoints | PointF[] | An array of PointF structures that define a parallelogram to which the rectangle defined by srcRect is transformed. The array can contain either three or four elements. If the array contains three elements, the lower-right corner of the parallelogram is implied by the first three points. |
srcRect | RectangleF | A RectangleF that represents the rectangle that is transformed to the parallelogram defined by destPoints. |
See Also
- struct PointF
- struct RectangleF
- class GraphicsPath
- namespace Aspose.Drawing.Drawing2D
- assembly Aspose.Drawing.Common
Warp(PointF[], RectangleF, Matrix)
Applies a warp transform, defined by a rectangle and a parallelogram, to this GraphicsPath
.
public void Warp(PointF[] destPoints, RectangleF srcRect, Matrix matrix)
Parameter | Type | Description |
---|---|---|
destPoints | PointF[] | An array of PointF structures that define a parallelogram to which the rectangle defined by srcRect is transformed. The array can contain either three or four elements. If the array contains three elements, the lower-right corner of the parallelogram is implied by the first three points. |
srcRect | RectangleF | A RectangleF that represents the rectangle that is transformed to the parallelogram defined by destPoints. |
matrix | Matrix | A Matrix that specifies a geometric transform to apply to the path. |
See Also
- struct PointF
- struct RectangleF
- class Matrix
- class GraphicsPath
- namespace Aspose.Drawing.Drawing2D
- assembly Aspose.Drawing.Common
Warp(PointF[], RectangleF, Matrix, WarpMode)
Applies a warp transform, defined by a rectangle and a parallelogram, to this GraphicsPath
.
public void Warp(PointF[] destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode)
Parameter | Type | Description |
---|---|---|
destPoints | PointF[] | An array of PointF structures that defines a parallelogram to which the rectangle defined by srcRect is transformed. The array can contain either three or four elements. If the array contains three elements, the lower-right corner of the parallelogram is implied by the first three points. |
srcRect | RectangleF | A RectangleF that represents the rectangle that is transformed to the parallelogram defined by destPoints. |
matrix | Matrix | A Matrix that specifies a geometric transform to apply to the path. |
warpMode | WarpMode | A WarpMode enumeration that specifies whether this warp operation uses perspective or bilinear mode. |
See Also
- struct PointF
- struct RectangleF
- class Matrix
- enum WarpMode
- class GraphicsPath
- namespace Aspose.Drawing.Drawing2D
- assembly Aspose.Drawing.Common
Warp(PointF[], RectangleF, Matrix, WarpMode, float)
Applies a warp transform, defined by a rectangle and a parallelogram, to this GraphicsPath
.
public void Warp(PointF[] destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode,
float flatness)
Parameter | Type | Description |
---|---|---|
destPoints | PointF[] | An array of PointF structures that define a parallelogram to which the rectangle defined by srcRect is transformed. The array can contain either three or four elements. If the array contains three elements, the lower-right corner of the parallelogram is implied by the first three points. |
srcRect | RectangleF | A RectangleF that represents the rectangle that is transformed to the parallelogram defined by destPoints. |
matrix | Matrix | A Matrix that specifies a geometric transform to apply to the path. |
warpMode | WarpMode | A WarpMode enumeration that specifies whether this warp operation uses perspective or bilinear mode. |
flatness | Single | A value from 0 through 1 that specifies how flat the resulting path is. For more information, see the Flatten methods. |
See Also
- struct PointF
- struct RectangleF
- class Matrix
- enum WarpMode
- class GraphicsPath
- namespace Aspose.Drawing.Drawing2D
- assembly Aspose.Drawing.Common