Class draw2d.Rectangle

Object
   |
   +--draw2d.Figure
         |
         +--draw2d.Rectangle
Direct Known Subclasses:
draw2d.Port, draw2d.LineEndResizeHandle, draw2d.ResizeHandle, draw2d.LineStartResizeHandle

class draw2d.Rectangle
extends draw2d.Figure

Defined in Rectangle.js

Version: 0.9.14

Author: Andreas Herz


Constructor Summary
draw2d.Rectangle ( width, height)
           
 
Method Summary
 draw2d.Color getBackgroundColor()
           The background color of the rectangle.
 draw2d.Color getColor()
          
 int getHeight()
          
 int getLineWidth()
          
 int getWidth()
           Returns the width of the figure.
 void setBackgroundColor( <draw2d.Color> color)
          
 void setColor( <draw2d.Color> color)
           Set the line color of the rectangle.
 void setDimension( <int> w , <int> h)
           Set the new width and height of the figure.
 void setLineWidth( w)
          
 
Methods inherited from class draw2d.Figure
getProperties, getProperty, setProperty, getId, getWorkflow, getParent, getZOrder, setZOrder, hasFixedPosition, getMinWidth, getMinHeight, setBorder, getContextMenu, onDoubleClick, onMouseEnter, onMouseLeave, onDragstart, setCanDrag, setAlpha, setPosition, isResizeable, setResizeable, isSelectable, setSelectable, isStrechable, isDeleteable, setDeleteable, setCanSnapToHelper, getCanSnapToHelper, getSnapToGridAnchor, setSnapToGridAnchor, getBounds, getY, getX, getAbsoluteY, getAbsoluteX, onKeyDown, getPosition, isOver, attachMoveListener, detachMoveListener
 

Constructor Detail

draw2d.Rectangle

draw2d.Rectangle( width, height)

Method Detail

getBackgroundColor

draw2d.Color getBackgroundColor()

getColor

draw2d.Color getColor()

getHeight

int getHeight()

getLineWidth

int getLineWidth()

getWidth

int getWidth()

setBackgroundColor

void setBackgroundColor( <draw2d.Color> color)

setColor

void setColor( <draw2d.Color> color)

setDimension

void setDimension( <int> w , <int> h)

setLineWidth

void setLineWidth( w)


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