Top
You are looking at an outdated 7.11.1 version of this document. Switch to the 7.14.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:

Name Type Description
lengthLimit number The maximum length of the queue. Defaults to 256.

rect

Constructor function.

Params:

Name Type Description
x number X-coordinate.
y number Y-coordinate.
w number Width.
h number Height.

Returns:

anychart.math.Rect -