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

namespace anychart.math Improve this Doc

Namespace anychart.math

Functions Overview

cycledQueue()Returns a queue with random access by indexes. Default maximum queue length is 256. It dequeues automatically when
rect()Constructor function.

Typedefs Overview

anychart.math.CoordinateIdentifies an x-y coordinate pair.
anychart.math.CoordinateObjectType definition for coordinate.

Classes Overview

anychart.math.CycledQueueClass for queues with random access by indexes. Default maximum queue length is 256. It dequeues automatically when
anychart.math.RectDefine rectangle.

Functions Description

cycledQueue

Returns a queue with random access by indexes. Default maximum queue length is 256. It dequeues automatically when the length of the queue reaches that limit. So if you need larger queue - set the length limit explicitly.

Params:

NameTypeDescription
lengthLimitnumberThe maximum length of the queue. Defaults to 256.

rect

Constructor function.

Params:

NameTypeDescription
xnumberX-coordinate.
ynumberY-coordinate.
wnumberWidth.
hnumberHeight.