Click or drag to resize

GdiExtensionMethodsScale(PointF, Double) Method

Multiply a PointF structure with a factor.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static PointF Scale(
	this PointF s,
	double factor
)

Parameters

s  PointF
The point to scale.
factor  Double
The scale value.

Return Value

PointF
PointF structure as result of the multiplication of the original point with the factor.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PointF. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also