Polygon geometry.
Methods
-
sampleAt(d)
-
Sample a Polygon at a distance
Parameters:
Name Type Description d
number 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 options
Properties
Name Type Description interval
Number interval beetween lines
angle
Number hatch angle in radian, default PI/2
Returns:
the resulting MultiLineString geometry or null if none
- Type
- ol.geom.MultiLineString | null