GdiExtensionMethodsScale(RectangleF, Double) Method |
Multiply a RectangleF structure with a factor.
Namespace: Altaxo.Graph.GdiAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static RectangleF Scale(
this RectangleF s,
double factor
)
Parameters
- s RectangleF
- The rectangle to scale.
- factor Double
- The scale value.
Return Value
RectangleFRectangleF structure as result of the multiplication of the original rectangle with the factor.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
RectangleF. 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