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
Syntaxpublic static Transform2d Scale(
Point2d anchor,
double xScaleFactor,
double yScaleFactor
)
Public Shared Function Scale (
anchor As Point2d,
xScaleFactor As Double,
yScaleFactor As Double
) As Transform2d
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:
Transform2dA transform matrix which scales geometry around the anchor point.
See Also