Scales this point by the scale factor about
the specified point.
Namespace: Teigha.Geometry
Assembly: TD_Mgd (in TD_Mgd.dll) Version:
21.4.0.0
Syntax
public Point2d ScaleBy(
double scaleFactor,
Point2d origin
)
Public Function ScaleBy (
scaleFactor As Double,
origin As Point2d
) As Point2d
public:
Point2d ScaleBy(
double scaleFactor,
Point2d origin
)
member ScaleBy :
scaleFactor : float *
origin : Point2d -> Point2d
Parameters
- scaleFactor
- Type: SystemDouble
[in] Scale factor.
- origin
- Type: Teigha.GeometryPoint2d
[in] Point relative to which scaling is computed.
Return Value
Type:
Point2d
2D point that is the result of the scale operation.
See Also