Transform2dFromAffineElements Method (Double) |
Creates a transform from an array of six coefficients in
(a, b, c, d, tx, ty) order.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic static Transform2d FromAffineElements(
double[] elements
)
Public Shared Function FromAffineElements (
elements As Double()
) As Transform2d
Parameters
- elements
- Type: SystemDouble
Six coefficients. This is the layout of Eto.Drawing.IMatrix.Elements.
Return Value
Type:
Transform2dThe equivalent transform, or Transform2d.Nan when elements is null or has fewer than six values.
See Also