Polygon geometry.
Methods
-
sampleAt(d)
-
Sample a Polygon at a distance
Parameters:
Name Type Description dnumber Returns:
- Type
- ol.geom.Polygon
-
scribbleFill(options)
-
Calculate a MultiPolyline to fill a Polygon with a scribble effect that appears hand-made
Parameters:
Name Type Description optionsProperties
Name Type Description intervalNumber interval beetween lines
angleNumber hatch angle in radian, default PI/2
Returns:
the resulting MultiLineString geometry or null if none
- Type
- ol.geom.MultiLineString | null