getCoordinate method
@return a coordinate in this component (or null, if there are none)
Implementation
Coordinate? getCoordinate() {
if (pts.length > 0) return pts[0];
return null;
}
@return a coordinate in this component (or null, if there are none)
Coordinate? getCoordinate() {
if (pts.length > 0) return pts[0];
return null;
}