 | 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.7.1+cd848a3eabf1b263af73d28a644a529edd2f1318
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.
ExceptionsException | Condition |
---|
InvalidOperationException | if the affine transform is singular, e.g. default initialized.
(Use Identity as an initial value.) |
See Also