org.gwtopenmaps.openlayers.client.geometry.LineString Maven / Gradle / Ivy
/**
*
*/
package org.gwtopenmaps.openlayers.client.geometry;
import org.gwtopenmaps.openlayers.client.util.JObjectArray;
import org.gwtopenmaps.openlayers.client.util.JSObject;
/**
* @author Edwin Commandeur - Atlis EJS
*
*/
public class LineString extends Curve{
protected LineString(JSObject element){
super(element);
}
public static LineString narrowToLineString(JSObject lineString){
return (lineString == null)?null: new LineString(lineString);
}
public LineString(Point[] pts){
this(LineStringImpl.create((new JObjectArray(pts)).getJSObject()));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy