Transform2dFromAffineElements Method (Single) |
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(
float[] elements
)
Public Shared Function FromAffineElements (
elements As Single()
) As Transform2d
Parameters
- elements
- Type: SystemSingle
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