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
Syntaxpublic static Transform2d Scale(
Point2d anchor,
double scaleFactor
)
Public Shared Function Scale (
anchor As Point2d,
scaleFactor As Double
) As Transform2d
Parameters
- anchor
- Type: Rhino.GeometryPoint2d
The fixed point of the scaling. - scaleFactor
- Type: SystemDouble
The scaling factor in both directions.
Return Value
Type:
Transform2dA transform matrix which scales geometry uniformly around the anchor point.
See Also