Classes
Type Definitions
- 
    Options{Object}
- 
    
    Specify radius for regular polygons, or both radius and radius2 for stars. Properties:Name Type Description fillFill | undefined Fill style. pointsnumber Number of points for stars and regular polygons. In case of a polygon, the number of points is the number of sides. radiusnumber Radius of a regular polygon. radius2number | undefined Second radius to make a star instead of a regular polygon. anglenumber 
 (defaults to 0)Shape's angle in radians. A value of 0 will have one of the shape's points facing up. displacementArray.<number> 
 (defaults to [0, 0])Displacement of the shape in pixels. Positive values will shift the shape right and up. strokeStroke | undefined Stroke style. rotationnumber 
 (defaults to 0)Rotation in radians (positive rotation clockwise). rotateWithViewboolean 
 (defaults to false)Whether to rotate the shape with the view. scalenumber | Size 
 (defaults to 1)Scale. Unless two dimensional scaling is required a better result may be obtained with appropriate settings for radiusandradius2.declutterModeDeclutterMode | undefined Declutter mode. 
- 
    RenderOptions{Object}
- 
    
    
Properties:Name Type Description strokeStyleColorLike | undefined StrokeStyle. strokeWidthnumber StrokeWidth. sizenumber Size. lineCapCanvasLineCap LineCap. lineDashArray.<number> | null LineDash. lineDashOffsetnumber LineDashOffset. lineJoinCanvasLineJoin LineJoin. miterLimitnumber MiterLimit.