 | AffineTransformTransformRectangle Method |
Transform the given rectangle
For a general affine transformation, the returned
Quadrilateral is a parallelogram.
Namespace: PdfTools.FourHeights.PdfToolbox.Geometry.RealAssembly: PdfTools.FourHeights.PdfToolbox (in PdfTools.FourHeights.PdfToolbox.dll) Version: 4.4.11+448b51188eed077347c3a51591ba80f0b99c42d7
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