Constructs a LineString from the given source of a line
An identifier for the LineString
ReadonlyidId of the geometry
ProtectedrawSpatial Reference of the geometry
Returns the number of contained points.
Returns an array of the contained lines formatted as API Point objects. A new array is returned each time this is called.
Returns the string 'LineString'.
ProtectedchildProtectedgeoReturns an array of point arrays (e.g. [[x1, y1], [x2, y2]] )
Will update the n-th contained point with the values of the point parameter. It is assumed the point is in the same spatial reference as the Multipoint
StaticfromOptionalid: string | numberStaticfromOptionalid: string | numberStaticparse
Baseclass of all geometries. All geometry types must derive from this class. Not intented to be instantiated on its own.