Optional
angle?: numberShape's angle in radians. A value of 0 will have one of the shape's point facing up.
Optional
displacement?: number[]Displacement of the shape
Optional
fill?: FillFill style.
Number of points for stars and regular polygons. In case of a polygon, the number of points is the number of sides.
Optional
radius?: numberRadius of a regular polygon.
Optional
radius1?: numberOuter radius of a star.
Optional
radius2?: numberInner radius of a star.
Optional
rotateWhether to rotate the shape with the view.
Optional
rotation?: numberRotation in radians (positive rotation clockwise).
Optional
stroke?: StrokeStroke style.
Generated using TypeDoc
Specify radius for regular polygons, or radius1 and radius2 for stars. See also: https://openlayers.org/en/latest/examples/regularshape.html