Library globals

Class globals . canvas . MapStructure . SymbolCache

View source

(no description)

Functions

add

Add a cached symbol based on a drawing callback. @note this assumes that the object added by callback fits into the dimensions provided to the constructor, and any larger dimensionalities are liable to be cut off.

get

new

Variables

DRAW_CENTERED

DRAW_LEFT_TOP

We can draw symbols either with left/top, centered, or right/bottom alignment. Specify two in a vector to mix and match, e.g. left/centered would be [SymbolCache.DRAW_LEFT_TOP,SymbolCache.DRAW_CENTERED]

DRAW_RIGHT_BOTTOM