Top
You are looking at an outdated 7.2.0 version of this document. Switch to the 7.14.3 version to see the up to date information.

class anychart.graphics.vector.Ellipse Improve this Doc

Extends: anychart.graphics.vector.Shape

Ellipse Class.
Do not invoke constructor directly. Use anychart.graphics.vector.Stage#ellipse or anychart.graphics.vector.Layer#ellipse to make stage or layer bound ellipse.
Use anychart.graphics.ellipse to create an unbound ellipse.

Methods Overview

Miscellaneous
center()Returns Center Cooridnates.
centerX()Returns Center X.
centerY()Returns Center Y.
radiusX()Returns X radius.
radiusY()Returns Y radius.
setRadius()Sets radii.

Methods Description

center

Returns Center Cooridnates.

Returns:

anychart.graphics.math.Coordinate - Center coordinates.
Sets center coordinates.

Params:

Name Type Description
value anychart.graphics.math.Coordinate Center Coordinates.

Returns:

anychart.graphics.vector.Ellipse - anychart.graphics.vector.Ellipse instance for method chaining..

centerX

Returns Center X.

Returns:

number - Center X.
Sets center X.

Params:

Name Type Description
value number Center X.

Returns:

anychart.graphics.vector.Ellipse - anychart.graphics.vector.Ellipse instance for method chaining.

centerY

Returns Center Y.

Returns:

number - Center Y.
Sets Center Y.

Params:

Name Type Description
value number Center Y.

Returns:

anychart.graphics.vector.Ellipse - anychart.graphics.vector.Ellipse instance for method chaining.

radiusX

Returns X radius.

Returns:

number - X radius.
Sets X radius.

Params:

Name Type Description
value number X radius.

Returns:

anychart.graphics.vector.Ellipse - anychart.graphics.vector.Ellipse instance for method chaining.

radiusY

Returns Y radius.

Returns:

number - Y radius.
Sets Y radius.

Params:

Name Type Description
value number Y radius.

Returns:

anychart.graphics.vector.Ellipse - anychart.graphics.vector.Ellipse instance for method chaining.

setRadius

Sets radii.

Params:

Name Type Description
rx number X radius.
ry number Y radius.

Returns:

anychart.graphics.vector.Ellipse - anychart.graphics.vector.Ellipse instance for method chaining.