![Pdftools logo](../icons/pdftools-icon.png) | AffineTransformTransformRectangle Method |
Transform the given rectangle
For a general affine transformation, the returned
Quadrilateral is a parallelogram.
Namespace: PdfTools.Toolbox.Geometry.RealAssembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.2.0+708f7116d933787a0712d56133e4c2c9bf21e5e3
Syntaxpublic Quadrilateral TransformRectangle(
Rectangle original
)
Parameters
- original Rectangle
-
the rectangle to be transformed
Return Value
Quadrilateral
the transformed rectangle. For a general affine transform this is a parallelogram.
ExceptionsException | Condition |
---|
InvalidOperationException | if the affine transform is singular, e.g. default initialized.
(Use Identity as an initial value.) |
See Also