RelativeScalar Constructor
Initializes a new instance of the RelativeScalar struct.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public RelativeScalar(
double scalar,
RelativeUnit unit
)
Public Sub New (
scalar As Double,
unit As RelativeUnit
)
new :
scalar : float *
unit : RelativeUnit -> RelativeScalar
Parameters
- Double
- The scalar value.
- RelativeUnit
- The unit.