AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated 7.5.1 version of this document. Switch to the 8.2.1 version to see the up to date information.

class anychart.graphics.vector.Circle Improve this Doc

Extends: anychart.graphics.vector.Ellipse

Circle Class. Inherited from Ellipse.
Do not invoke constructor directly. Use anychart.graphics.vector.Stage#circle or anychart.graphics.vector.Layer#circle methods, if you want to create an instance of primitive bound to a stage or a layer.
In case you need an unbound primitive – use anychart.graphics.circle.

Methods Overview

Miscellaneous
radius()Setter for circle radius.

Methods Description

radius

Setter for circle radius.

Params:

Name Type Description
value number Circle radius.

Returns:

anychart.graphics.vector.Circle - Self instance for method chaining.
Getter for circle radius.

Returns:

number - Circle radius in pixels.