Method DistanceTo
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
DistanceTo(double, double)
Gets the distance from a point to the item, the shortest to any part that is drawn; the distance to the nearest edge for a fill, nought inside it.
public abstract double DistanceTo(double x, double y)
Parameters
Returns
- double
The distance.