Click or drag to resize

Transform2dScale Method (Point2d, Double)

Constructs a new 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 scaleFactor
)

Parameters

anchor
Type: Rhino.GeometryPoint2d
The fixed point of the scaling.
scaleFactor
Type: SystemDouble
The scaling factor in both directions.

Return Value

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