Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class draw2d.Graphics

    Object
       |
       +--draw2d.Graphics

class draw2d.Graphics

A Connection is the line between two draw2d.Ports.
Version: 0.9.14
Author: Andreas Herz
Defined in Graphics.js

Field Summary
`Object` | `cosRadian`
`Object` | `radian`
`Object` | `sinRadian`
`Object` | `xt`
`Object` | `yt`

Constructor Summary
`draw2d.Graphics ( jsGraphics, rotation, translation)`

Method Summary
`void` | `drawLine( x1, y1, x2, y2)`
`void` | `drawPolygon( xArray, yArray)`
`void` | `fillPolygon( xArray, yArray)`
`void` | `fillRect( x, y, w, h)`
`void` | `jsGraphics(id, wnd)`
`void` | `setColor( color)`
`void` | `setStroke( x)`

Field Detail

### cosRadian

    Object cosRadian

### radian

    Object radian

### sinRadian

    Object sinRadian

### xt

    Object xt

### yt

    Object yt

Constructor Detail

### draw2d.Graphics

    draw2d.Graphics( jsGraphics, rotation, translation)

Version: 0.9.14
Author: Andreas Herz

Method Detail

### drawLine

    void drawLine( x1, y1, x2, y2)

### drawPolygon

    void drawPolygon( xArray, yArray)

### fillPolygon

    void fillPolygon( xArray, yArray)

### fillRect

    void fillRect( x, y, w, h)

### jsGraphics

    void jsGraphics(id, wnd)

### setColor

    void setColor( color)

### setStroke

    void setStroke( x)

Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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