Class draw2d.Canvas

Object
   |
   +--draw2d.Canvas
Direct Known Subclasses:
draw2d.Workflow

class draw2d.Canvas

Defined in Canvas.js

Version: 0.9.14

Author: Andreas Herz


Field Summary
 Object enableSmoothFigureHandling
          
 
Constructor Summary
draw2d.Canvas ( canvasId)
           
 
Method Summary
 void addFigure( <draw2d.Figure> figure, <int> xPos, <int> yPos, avoidPaint)
          
 int getAbsoluteX()
          
 int getAbsoluteY()
          
 boolean getEnableSmoothFigureHandling()
           Returns the flag if the Canvas has enabled the smooth figure handling during add, remove, selection, drag&drop.
 int getHeight()
          
 int getScrollLeft()
          
 int getScrollTop()
          
 int getWidth()
          
 int getX()
          
 int getY()
          
 void removeFigure( <draw2d.Figure> figure)
          
 void setBackgroundImage( <String> imageUrl, repeat)
           Set the background image of the Canvas.
 void setEnableSmoothFigureHandling( <boolean> flag)
           Set the flag for the smooth figure handling during add, remove, selection, drag&drop.
 void setViewPort( divId)
           Setting the view for the canvas.

Field Detail

enableSmoothFigureHandling

Object enableSmoothFigureHandling

Constructor Detail

draw2d.Canvas

draw2d.Canvas( canvasId)

Method Detail

addFigure

void addFigure( <draw2d.Figure> figure, <int> xPos, <int> yPos, avoidPaint)

getAbsoluteX

int getAbsoluteX()

getAbsoluteY

int getAbsoluteY()

getEnableSmoothFigureHandling

boolean getEnableSmoothFigureHandling()

getHeight

int getHeight()

getScrollLeft

int getScrollLeft()

getScrollTop

int getScrollTop()

getWidth

int getWidth()

getX

int getX()

getY

int getY()

removeFigure

void removeFigure( <draw2d.Figure> figure)

setBackgroundImage

void setBackgroundImage( <String> imageUrl, repeat)

setEnableSmoothFigureHandling

void setEnableSmoothFigureHandling( <boolean> flag)

setViewPort

void setViewPort( divId)


Documentation generated by JSDoc on Thu Feb 7 23:45:47 2008