Click or drag to resize

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
Syntax
public static Transform2d FromAffineElements(
	float[] elements
)

Parameters

elements
Type: SystemSingle
Six coefficients. This is the layout of Eto.Drawing.IMatrix.Elements.

Return Value

Type: Transform2d
The equivalent transform, or Transform2d.Nan when elements is null or has fewer than six values.
See Also