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

## Class draw2d.Circle

    Object
       |
       +--draw2d.Figure
             |
             +--draw2d.Node
                   |
                   +--draw2d.VectorFigure
                         |
                         +--draw2d.Oval
                               |
                               +--draw2d.Circle

Direct Known Subclasses:
  Corona

class draw2d.Circle
extends draw2d.Oval

Defined in Circle.js
Version: 0.9.14
Author: Andreas Herz

Constructor Summary
`draw2d.Circle ( radius)`

Method Summary
`boolean` | `isStrechable()` A Circle can't streched.
`void` | `setDimension( <int> w, <int> h)` It is not possible to set different values widht and height for a circle.

Methods inherited from class draw2d.Oval
``

Methods inherited from class draw2d.VectorFigure
`setBackgroundColor, getBackgroundColor, setLineWidth, setColor, getColor`

Methods inherited from class draw2d.Node
`getPorts, getPort, addPort, removePort`

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, isDeleteable, setDeleteable, setCanSnapToHelper, getCanSnapToHelper, getSnapToGridAnchor, setSnapToGridAnchor, getBounds, getWidth, getHeight, getY, getX, getAbsoluteY, getAbsoluteX, onKeyDown, getPosition, isOver, attachMoveListener, detachMoveListener`

Constructor Detail

### draw2d.Circle

    draw2d.Circle( radius)

Version: 0.9.14
Author: Andreas Herz

Method Detail

### isStrechable

    boolean isStrechable()

A Circle can't streched. In this case this method returns always false. So - no resize handles at the top, bottom,left and the right are visible.

Returns:

Returns always false. It is not possible to strech a circle. Use draw2d.Oval instead.

### setDimension

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

It is not possible to set different values widht and height for a circle. The greater value of w and h will be used only.

Parameters:

`w` - The new width of the circle.

`h` - The new height of the circle.

See:

- draw2d.VectorFigure.setDimension()

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