[]
Multiplies a specified Length value using a scale factor.
public static Length Multiply(Length unit, float scale)
| Type | Name | Description |
|---|---|---|
| Length | unit | A Length value to multiply. |
| float | scale | A float value indicating the scale factor. |
| Type | Description |
|---|---|
| Length | A new Length value representing the scaled length. |
var length = new Length("1in");
var scaledLength = Length.Multiply(length, 2); // 2in