new CircleStyle(opt_options)
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Options.
|
Extends
Methods
-
Clones the style. If an atlasmanager was provided to the original style it will be used in the cloned style, too.
Returns:
The cloned style.
-
Get the anchor point in pixels. The anchor determines the center point for the symbolizer.
Returns:
Anchor.
-
Get the angle used in generating the shape.
Returns:
Shape's rotation in radians.
-
Get the fill style for the shape.
Returns:
Fill style.
-
getImage(pixelRatio){HTMLCanvasElement|HTMLVideoElement|HTMLImageElement} inherited
style/RegularShape.js, line 225 -
Get the image element for the symbolizer.
Name Type Description pixelRatio
number Pixel ratio.
Returns:
Image element.
-
Get the origin of the symbolizer.
Returns:
Origin.
-
Get the number of points for generating the shape.
Returns:
Number of points for stars and regular polygons.
-
Get the (primary) radius for the shape.
Returns:
Radius.
-
Get the secondary radius for the shape.
Returns:
Radius2.
-
Get the size of the symbolizer (in pixels).
Returns:
Size.
-
Get the stroke style for the shape.
Returns:
Stroke style.
-
setRadius(radius)
style/Circle.js, line 66 -
Set the circle radius.
Name Type Description radius
number Circle radius.