Click or drag to resize
Pdftools logo

AffineTransformTransformQuadrilateral Method

Transform a given quadrilateral

If the input quadrilateral is a parallelogram, then the output is also a parallelogram.

Namespace: PdfTools.FourHeights.PdfToolbox.Geometry.Real
Assembly: PdfTools.FourHeights.PdfToolbox (in PdfTools.FourHeights.PdfToolbox.dll) Version: 1.0.0
Syntax
C#
public 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
ExceptionCondition
InvalidOperationExceptionif the affine transform is singular, e.g. default initialized. (Use Identity as an initial value.)
See Also