Class draw2d.ConnectionDecorator
Object
|
+--draw2d.ConnectionDecorator
-
Direct Known Subclasses:
-
draw2d.ArrowConnectionDecorator
- class
draw2d.ConnectionDecorator
A Connection is the line between two draw2d.Ports.
Version: 0.9.14
Author: Andreas Herz
Defined in ConnectionDecorator.js
backgroundColor
Object backgroundColor
color
Object color
type
Object type
draw2d.ConnectionDecorator
draw2d.ConnectionDecorator()
Version: 0.9.14
Author: Andreas Herz
paint
void paint( g)
Paint the decoration for a connector.
The Connector starts always in [0,0] and ends in [x,0]
|
|
|
--------------+-----------------------------> +X
|
|
|
V -Y
See in ArrowConnectionDecorator for example implementation.
setBackgroundColor
void setBackgroundColor( c)
setColor
void setColor( c)
Documentation generated by
JSDoc on Thu Feb 7 23:45:47 2008