Initializes a new instance of the OffsetPositionCalculator class using
the specified horizontal and vertical proportional offsets.
Namespace:
Mindscape.WpfDiagramming.FoundationAssembly: Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
---|
public OffsetPositionCalculator( double horizontalFactor, double verticalFactor ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ horizontalFactor As Double, _ verticalFactor As Double _ ) |
Parameters
- horizontalFactor
- Type: System..::.Double
A value typically between 0 and 1 for calculating the x co-ordinate.
- verticalFactor
- Type: System..::.Double
A value typically between 0 and 1 for calculating the y co-ordinate.