distance method
Returns the Euclidean distance
(straight-line distance) between the line's
start and page:.end end
points.
Implementation
double distance() {
return start.distanceTo(end);
}
Returns the Euclidean distance
(straight-line distance) between the line's
start and page:.end end
points.
double distance() {
return start.distanceTo(end);
}