 | AffineTransformTranslate Method |
Translate.
Translations are specified as [1 0 0 1 tx ty],
where tx and ty are the distances to translate the origin of the
coordinate system in the horizontal and vertical dimensions, respectively.
Namespace: PdfTools.FourHeights.PdfToolbox.Geometry.RealAssembly: PdfTools.FourHeights.PdfToolbox (in PdfTools.FourHeights.PdfToolbox.dll) Version: 4.4.11+448b51188eed077347c3a51591ba80f0b99c42d7
Syntaxpublic void Translate(
double tx,
double ty
)
Parameters
- tx Double
-
horizontal translation
- ty Double
-
vertical translation
ExceptionsException | Condition |
---|
InvalidOperationException | If the affine transform is singular, e.g. default initialized.
(Use Identity as an initial value.) |
See Also