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

namespace anychart.math Improve this Doc

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.