 | AffineTransformTransformQuadrilateral Method |
Transform a given quadrilateral
If the input quadrilateral is a parallelogram, then the output is also a parallelogram.
Namespace: PdfTools.Toolbox.Geometry.RealAssembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.11.0+eb7160cc6b920e36fb1ea2abe5f76809067c0c55
Syntaxpublic Quadrilateral TransformQuadrilateral(
Quadrilateral original
)
Parameters
- original Quadrilateral
-
the quadrilateral to be transformed
Return Value
Quadrilateral
the transformed quadrilateral. If the input is a parallelogram then the output is also a parallelogram.
Exceptions| Exception | Condition |
|---|
| InvalidOperationException | if the affine transform is singular, e.g. default initialized.
(Use Identity as an initial value.) |
See Also