|
LineSelectorDataGetClosestDistance(Point, Double) Method |
Namespace: Ab3d.UtilitiesAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public double GetClosestDistance(
Point screenPosition,
double maxSelectionDistance
)
Parameters
- screenPosition Point
- 2D position that will be used to calculate the distance to this line
- maxSelectionDistance Double
- the distance at which the line will be selected (zero if user needs to be on the line)
Return Value
Doubledistance of this line to the specified position
See Also