Click or drag to resize

Transform2dScale Method (Point2d, Double, Double)

Constructs a new non-uniform scaling transformation with a specified anchor point.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public static Transform2d Scale(
	Point2d anchor,
	double xScaleFactor,
	double yScaleFactor
)

Parameters

anchor
Type: Rhino.GeometryPoint2d
The fixed point of the scaling.
xScaleFactor
Type: SystemDouble
The scaling factor along the world X axis.
yScaleFactor
Type: SystemDouble
The scaling factor along the world Y axis.

Return Value

Type: Transform2d
A transform matrix which scales geometry around the anchor point.
See Also