Class Canvas
Object
|
+--Canvas
- class
Canvas
a Canvas contains a DivTag that holds graphics rendered by jsGraphics
Defined in geometry.js
Requires:
Constructor Summary |
Canvas(aMapframe, <String> aTagName, <String> aStyle, <Integer> aLineWidth)
|
canvasDivTag
DivTag canvasDivTag
This is the DivTag that contains the output by jsGraphics.
Canvas
Canvas(aMapframe, <String> aTagName, <String> aStyle, <Integer> aLineWidth)
Parameters:
aTagName
- name of the target div tag
aStyle
- style of the div tag
aLineWidth
- the line width of the jsGraphics output
aMapFrame
- name of the target mapframe
clean
void clean()
cleans the canvas by emptying the canvas DivTag.
paint
void paint(<GeometryArray> gA)
Parameters:
gA
- the geometries that will be drawn
Documentation generated by
JSDoc on Wed Aug 8 10:35:22 2007