text: Ext.data.JsonP.draw2d_Corona({"tagname":"class","name":"draw2d.Corona","autodetected":{},"files":[{"filename":"Port.js","href":"Port.html#draw2d-Corona"}],"extends":"draw2d.shape.basic.Circle","members":[{"name":"alpha","tagname":"attr","owner":"draw2d.Figure","id":"attr-alpha","meta":{}},{"name":"angle","tagname":"attr","owner":"draw2d.Figure","id":"attr-angle","meta":{}},{"name":"bgColor","tagname":"attr","owner":"draw2d.VectorFigure","id":"attr-bgColor","meta":{}},{"name":"boundingBox","tagname":"attr","owner":"draw2d.Figure","id":"attr-boundingBox","meta":{}},{"name":"color","tagname":"attr","owner":"draw2d.VectorFigure","id":"attr-color","meta":{}},{"name":"cssClass","tagname":"attr","owner":"draw2d.Figure","id":"attr-cssClass","meta":{}},{"name":"diameter","tagname":"attr","owner":"draw2d.shape.basic.Circle","id":"attr-diameter","meta":{}},{"name":"glow","tagname":"attr","owner":"draw2d.Figure","id":"attr-glow","meta":{}},{"name":"height","tagname":"attr","owner":"draw2d.Figure","id":"attr-height","meta":{}},{"name":"keepAspectRatio","tagname":"attr","owner":"draw2d.Figure","id":"attr-keepAspectRatio","meta":{}},{"name":"minHeight","tagname":"attr","owner":"draw2d.Figure","id":"attr-minHeight","meta":{}},{"name":"minWidth","tagname":"attr","owner":"draw2d.Figure","id":"attr-minWidth","meta":{}},{"name":"opacity","tagname":"attr","owner":"draw2d.Figure","id":"attr-opacity","meta":{}},{"name":"radius","tagname":"attr","owner":"draw2d.shape.basic.Circle","id":"attr-radius","meta":{}},{"name":"resizeable","tagname":"attr","owner":"draw2d.Figure","id":"attr-resizeable","meta":{}},{"name":"selectable","tagname":"attr","owner":"draw2d.Figure","id":"attr-selectable","meta":{}},{"name":"stroke","tagname":"attr","owner":"draw2d.VectorFigure","id":"attr-stroke","meta":{}},{"name":"userData","tagname":"attr","owner":"draw2d.Figure","id":"attr-userData","meta":{}},{"name":"visible","tagname":"attr","owner":"draw2d.Figure","id":"attr-visible","meta":{}},{"name":"width","tagname":"attr","owner":"draw2d.Figure","id":"attr-width","meta":{}},{"name":"x","tagname":"attr","owner":"draw2d.Figure","id":"attr-x","meta":{}},{"name":"y","tagname":"attr","owner":"draw2d.Figure","id":"attr-y","meta":{}},{"name":"constructor","tagname":"method","owner":"draw2d.Corona","id":"method-constructor","meta":{}},{"name":"add","tagname":"method","owner":"draw2d.Figure","id":"method-add","meta":{"chainable":true}},{"name":"addCssClass","tagname":"method","owner":"draw2d.Figure","id":"method-addCssClass","meta":{"chainable":true}},{"name":"addFigure","tagname":"method","owner":"draw2d.Figure","id":"method-addFigure","meta":{"deprecated":{"text":"<p>use <a href=\"#!/api/draw2d.Figure-method-add\" rel=\"draw2d.Figure-method-add\" class=\"docClass\">draw2d.Figure.add</a>()</p>\n"}}},{"name":"addPort","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-addPort","meta":{}},{"name":"applyTransformation","tagname":"method","owner":"draw2d.Figure","id":"method-applyTransformation","meta":{"chainable":true,"private":true,"template":true}},{"name":"attr","tagname":"method","owner":"draw2d.Figure","id":"method-attr","meta":{"experimental":{"text":"\n"}}},{"name":"clone","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-clone","meta":{}},{"name":"contains","tagname":"method","owner":"draw2d.Figure","id":"method-contains","meta":{}},{"name":"createCommand","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-createCommand","meta":{"private":true}},{"name":"createPort","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-createPort","meta":{"template":true}},{"name":"createShapeElement","tagname":"method","owner":"draw2d.shape.basic.Oval","id":"method-createShapeElement","meta":{"template":true}},{"name":"fireEvent","tagname":"method","owner":"draw2d.Figure","id":"method-fireEvent","meta":{}},{"name":"getAbsoluteBounds","tagname":"method","owner":"draw2d.Figure","id":"method-getAbsoluteBounds","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"draw2d.Figure","id":"method-getAbsolutePosition","meta":{}},{"name":"getAbsoluteX","tagname":"method","owner":"draw2d.Figure","id":"method-getAbsoluteX","meta":{}},{"name":"getAbsoluteY","tagname":"method","owner":"draw2d.Figure","id":"method-getAbsoluteY","meta":{}},{"name":"getAlpha","tagname":"method","owner":"draw2d.Figure","id":"method-getAlpha","meta":{}},{"name":"getBackgroundColor","tagname":"method","owner":"draw2d.VectorFigure","id":"method-getBackgroundColor","meta":{}},{"name":"getBestChild","tagname":"method","owner":"draw2d.Figure","id":"method-getBestChild","meta":{}},{"name":"getBoundingBox","tagname":"method","owner":"draw2d.Figure","id":"method-getBoundingBox","meta":{}},{"name":"getCanSnapToHelper","tagname":"method","owner":"draw2d.Figure","id":"method-getCanSnapToHelper","meta":{}},{"name":"getCanvas","tagname":"method","owner":"draw2d.Figure","id":"method-getCanvas","meta":{}},{"name":"getCenter","tagname":"method","owner":"draw2d.shape.basic.Oval","id":"method-getCenter","meta":{}},{"name":"getChildren","tagname":"method","owner":"draw2d.Figure","id":"method-getChildren","meta":{}},{"name":"getColor","tagname":"method","owner":"draw2d.VectorFigure","id":"method-getColor","meta":{}},{"name":"getComposite","tagname":"method","owner":"draw2d.Figure","id":"method-getComposite","meta":{}},{"name":"getConnections","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-getConnections","meta":{}},{"name":"getCssClass","tagname":"method","owner":"draw2d.Figure","id":"method-getCssClass","meta":{}},{"name":"getDiameter","tagname":"method","owner":"draw2d.shape.basic.Circle","id":"method-getDiameter","meta":{}},{"name":"getHandleBBox","tagname":"method","owner":"draw2d.Figure","id":"method-getHandleBBox","meta":{}},{"name":"getHeight","tagname":"method","owner":"draw2d.Figure","id":"method-getHeight","meta":{}},{"name":"getHybridPort","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-getHybridPort","meta":{}},{"name":"getId","tagname":"method","owner":"draw2d.Figure","id":"method-getId","meta":{}},{"name":"getInputPort","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-getInputPort","meta":{}},{"name":"getInputPorts","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-getInputPorts","meta":{}},{"name":"getKeepAspectRatio","tagname":"method","owner":"draw2d.Figure","id":"method-getKeepAspectRatio","meta":{}},{"name":"getMinHeight","tagname":"method","owner":"draw2d.Figure","id":"method-getMinHeight","meta":{}},{"name":"getMinWidth","tagname":"method","owner":"draw2d.Figure","id":"method-getMinWidth","meta":{}},{"name":"getOutputPort","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-getOutputPort","meta":{}},{"name":"getOutputPorts","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-getOutputPorts","meta":{}},{"name":"getParent","tagname":"method","owner":"draw2d.Figure","id":"method-getParent","meta":{}},{"name":"getPersistPorts","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-getPersistPorts","meta":{}},{"name":"getPersistentAttributes","tagname":"method","owner":"draw2d.shape.basic.Circle","id":"method-getPersistentAttributes","meta":{}},{"name":"getPort","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-getPort","meta":{}},{"name":"getPorts","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-getPorts","meta":{}},{"name":"getPosition","tagname":"method","owner":"draw2d.Figure","id":"method-getPosition","meta":{}},{"name":"getRadius","tagname":"method","owner":"draw2d.VectorFigure","id":"method-getRadius","meta":{}},{"name":"getRoot","tagname":"method","owner":"draw2d.Figure","id":"method-getRoot","meta":{}},{"name":"getRotationAngle","tagname":"method","owner":"draw2d.Figure","id":"method-getRotationAngle","meta":{}},{"name":"getShapeElement","tagname":"method","owner":"draw2d.Figure","id":"method-getShapeElement","meta":{"private":true}},{"name":"getSnapToGridAnchor","tagname":"method","owner":"draw2d.Figure","id":"method-getSnapToGridAnchor","meta":{}},{"name":"getStroke","tagname":"method","owner":"draw2d.VectorFigure","id":"method-getStroke","meta":{}},{"name":"getTopLevelShapeElement","tagname":"method","owner":"draw2d.Figure","id":"method-getTopLevelShapeElement","meta":{"private":true}},{"name":"getUserData","tagname":"method","owner":"draw2d.Figure","id":"method-getUserData","meta":{}},{"name":"getWidth","tagname":"method","owner":"draw2d.Figure","id":"method-getWidth","meta":{}},{"name":"getX","tagname":"method","owner":"draw2d.Figure","id":"method-getX","meta":{}},{"name":"getY","tagname":"method","owner":"draw2d.Figure","id":"method-getY","meta":{}},{"name":"getZOrder","tagname":"method","owner":"draw2d.Figure","id":"method-getZOrder","meta":{}},{"name":"hasCssClass","tagname":"method","owner":"draw2d.Figure","id":"method-hasCssClass","meta":{}},{"name":"hitTest","tagname":"method","owner":"draw2d.Figure","id":"method-hitTest","meta":{}},{"name":"installEditPolicy","tagname":"method","owner":"draw2d.Figure","id":"method-installEditPolicy","meta":{"chainable":true}},{"name":"intersectionWithLine","tagname":"method","owner":"draw2d.shape.basic.Oval","id":"method-intersectionWithLine","meta":{}},{"name":"isDeleteable","tagname":"method","owner":"draw2d.Figure","id":"method-isDeleteable","meta":{}},{"name":"isDraggable","tagname":"method","owner":"draw2d.Figure","id":"method-isDraggable","meta":{}},{"name":"isResizeable","tagname":"method","owner":"draw2d.Figure","id":"method-isResizeable","meta":{}},{"name":"isSelectable","tagname":"method","owner":"draw2d.Figure","id":"method-isSelectable","meta":{}},{"name":"isSelected","tagname":"method","owner":"draw2d.Figure","id":"method-isSelected","meta":{}},{"name":"isStrechable","tagname":"method","owner":"draw2d.Figure","id":"method-isStrechable","meta":{"deprecated":{"text":"\n"}}},{"name":"isVisible","tagname":"method","owner":"draw2d.Figure","id":"method-isVisible","meta":{}},{"name":"layoutPorts","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-layoutPorts","meta":{"private":true}},{"name":"off","tagname":"method","owner":"draw2d.Figure","id":"method-off","meta":{"chainable":true}},{"name":"on","tagname":"method","owner":"draw2d.Figure","id":"method-on","meta":{"chainable":true}},{"name":"onCatch","tagname":"method","owner":"draw2d.Figure","id":"method-onCatch","meta":{"template":true}},{"name":"onClick","tagname":"method","owner":"draw2d.Figure","id":"method-onClick","meta":{"deprecated":{"text":"\n"},"template":true}},{"name":"onContextMenu","tagname":"method","owner":"draw2d.Figure","id":"method-onContextMenu","meta":{"template":true}},{"name":"onDoubleClick","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-onDoubleClick","meta":{}},{"name":"onDrag","tagname":"method","owner":"draw2d.Figure","id":"method-onDrag","meta":{"private":true}},{"name":"onDragEnd","tagname":"method","owner":"draw2d.Figure","id":"method-onDragEnd","meta":{"template":true}},{"name":"onDragEnter","tagname":"method","owner":"draw2d.Figure","id":"method-onDragEnter","meta":{"private":true}},{"name":"onDragLeave","tagname":"method","owner":"draw2d.Figure","id":"method-onDragLeave","meta":{"private":true}},{"name":"onDragStart","tagname":"method","owner":"draw2d.Figure","id":"method-onDragStart","meta":{}},{"name":"onDrop","tagname":"method","owner":"draw2d.Figure","id":"method-onDrop","meta":{"template":true}},{"name":"onMouseEnter","tagname":"method","owner":"draw2d.Figure","id":"method-onMouseEnter","meta":{"template":true}},{"name":"onMouseLeave","tagname":"method","owner":"draw2d.Figure","id":"method-onMouseLeave","meta":{"template":true}},{"name":"onPanning","tagname":"method","owner":"draw2d.Figure","id":"method-onPanning","meta":{"template":true}},{"name":"onPanningEnd","tagname":"method","owner":"draw2d.Figure","id":"method-onPanningEnd","meta":{}},{"name":"onPortValueChanged","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-onPortValueChanged","meta":{"template":true}},{"name":"onTimer","tagname":"method","owner":"draw2d.Figure","id":"method-onTimer","meta":{"template":true}},{"name":"pick","tagname":"method","owner":"draw2d.Figure","id":"method-pick","meta":{"deprecated":{"text":"\n"}}},{"name":"remove","tagname":"method","owner":"draw2d.Figure","id":"method-remove","meta":{}},{"name":"removeCssClass","tagname":"method","owner":"draw2d.Figure","id":"method-removeCssClass","meta":{"chainable":true}},{"name":"removeFigure","tagname":"method","owner":"draw2d.Figure","id":"method-removeFigure","meta":{"deprecated":{"text":"<p>use <a href=\"#!/api/draw2d.Figure-method-remove\" rel=\"draw2d.Figure-method-remove\" class=\"docClass\">draw2d.Figure.remove</a>()</p>\n"}}},{"name":"removePort","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-removePort","meta":{}},{"name":"repaint","tagname":"method","owner":"draw2d.shape.basic.Oval","id":"method-repaint","meta":{"template":true}},{"name":"resetChildren","tagname":"method","owner":"draw2d.Figure","id":"method-resetChildren","meta":{"chainable":true}},{"name":"resetPorts","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-resetPorts","meta":{"chainable":true}},{"name":"select","tagname":"method","owner":"draw2d.Figure","id":"method-select","meta":{"chainable":true,"private":true}},{"name":"setAlpha","tagname":"method","owner":"draw2d.Corona","id":"method-setAlpha","meta":{"chainable":true}},{"name":"setBackgroundColor","tagname":"method","owner":"draw2d.VectorFigure","id":"method-setBackgroundColor","meta":{"chainable":true}},{"name":"setBoundingBox","tagname":"method","owner":"draw2d.Figure","id":"method-setBoundingBox","meta":{"chainable":true}},{"name":"setCanSnapToHelper","tagname":"method","owner":"draw2d.Figure","id":"method-setCanSnapToHelper","meta":{"chainable":true}},{"name":"setCanvas","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-setCanvas","meta":{}},{"name":"setCenter","tagname":"method","owner":"draw2d.shape.basic.Oval","id":"method-setCenter","meta":{"chainable":true}},{"name":"setColor","tagname":"method","owner":"draw2d.VectorFigure","id":"method-setColor","meta":{"chainable":true}},{"name":"setComposite","tagname":"method","owner":"draw2d.Figure","id":"method-setComposite","meta":{"chainable":true,"private":true}},{"name":"setCssClass","tagname":"method","owner":"draw2d.Figure","id":"method-setCssClass","meta":{"chainable":true}},{"name":"setDeleteable","tagname":"method","owner":"draw2d.Figure","id":"method-setDeleteable","meta":{"chainable":true}},{"name":"setDiameter","tagname":"method","owner":"draw2d.shape.basic.Circle","id":"method-setDiameter","meta":{"chainable":true}},{"name":"setDimension","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-setDimension","meta":{}},{"name":"setDraggable","tagname":"method","owner":"draw2d.Figure","id":"method-setDraggable","meta":{"chainable":true}},{"name":"setGlow","tagname":"method","owner":"draw2d.VectorFigure","id":"method-setGlow","meta":{"chainable":true}},{"name":"setHeight","tagname":"method","owner":"draw2d.Figure","id":"method-setHeight","meta":{"chainable":true}},{"name":"setId","tagname":"method","owner":"draw2d.Figure","id":"method-setId","meta":{"chainable":true}},{"name":"setKeepAspectRatio","tagname":"method","owner":"draw2d.Figure","id":"method-setKeepAspectRatio","meta":{"chainable":true}},{"name":"setMinHeight","tagname":"method","owner":"draw2d.Figure","id":"method-setMinHeight","meta":{"chainable":true}},{"name":"setMinWidth","tagname":"method","owner":"draw2d.Figure","id":"method-setMinWidth","meta":{"chainable":true}},{"name":"setParent","tagname":"method","owner":"draw2d.Figure","id":"method-setParent","meta":{"chainable":true,"private":true}},{"name":"setPersistPorts","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-setPersistPorts","meta":{"chainable":true}},{"name":"setPersistentAttributes","tagname":"method","owner":"draw2d.VectorFigure","id":"method-setPersistentAttributes","meta":{"chainable":true}},{"name":"setPosition","tagname":"method","owner":"draw2d.Figure","id":"method-setPosition","meta":{"chainable":true}},{"name":"setRadius","tagname":"method","owner":"draw2d.shape.basic.Circle","id":"method-setRadius","meta":{"chainable":true}},{"name":"setResizeable","tagname":"method","owner":"draw2d.Figure","id":"method-setResizeable","meta":{"chainable":true}},{"name":"setRotationAngle","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-setRotationAngle","meta":{}},{"name":"setSelectable","tagname":"method","owner":"draw2d.Figure","id":"method-setSelectable","meta":{"chainable":true}},{"name":"setSnapToGridAnchor","tagname":"method","owner":"draw2d.Figure","id":"method-setSnapToGridAnchor","meta":{"chainable":true}},{"name":"setStroke","tagname":"method","owner":"draw2d.VectorFigure","id":"method-setStroke","meta":{"chainable":true}},{"name":"setUserData","tagname":"method","owner":"draw2d.Figure","id":"method-setUserData","meta":{"chainable":true}},{"name":"setVisible","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-setVisible","meta":{}},{"name":"setWidth","tagname":"method","owner":"draw2d.Figure","id":"method-setWidth","meta":{"chainable":true}},{"name":"setX","tagname":"method","owner":"draw2d.Figure","id":"method-setX","meta":{"chainable":true}},{"name":"setY","tagname":"method","owner":"draw2d.Figure","id":"method-setY","meta":{"chainable":true}},{"name":"startTimer","tagname":"method","owner":"draw2d.Figure","id":"method-startTimer","meta":{"chainable":true}},{"name":"stopTimer","tagname":"method","owner":"draw2d.Figure","id":"method-stopTimer","meta":{"chainable":true}},{"name":"toBack","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-toBack","meta":{"chainable":true}},{"name":"toFront","tagname":"method","owner":"draw2d.shape.node.Node","id":"method-toFront","meta":{"chainable":true}},{"name":"toggleCssClass","tagname":"method","owner":"draw2d.Figure","id":"method-toggleCssClass","meta":{"chainable":true}},{"name":"translate","tagname":"method","owner":"draw2d.Figure","id":"method-translate","meta":{"chainable":true}},{"name":"uninstallEditPolicy","tagname":"method","owner":"draw2d.Figure","id":"method-uninstallEditPolicy","meta":{}},{"name":"unselect","tagname":"method","owner":"draw2d.Figure","id":"method-unselect","meta":{"chainable":true,"private":true}}],"alternateClassNames":[],"aliases":{},"id":"class-draw2d.Corona","short_doc":"Glow effect for ports. ...","component":false,"superclasses":["draw2d.Figure","draw2d.shape.node.Node","draw2d.VectorFigure","draw2d.shape.basic.Oval","draw2d.shape.basic.Circle"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='docClass'>draw2d.Figure</a><div class='subclass '><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='docClass'>draw2d.shape.node.Node</a><div class='subclass '><a href='#!/api/draw2d.VectorFigure' rel='draw2d.VectorFigure' class='docClass'>draw2d.VectorFigure</a><div class='subclass '><a href='#!/api/draw2d.shape.basic.Oval' rel='draw2d.shape.basic.Oval' class='docClass'>draw2d.shape.basic.Oval</a><div class='subclass '><a href='#!/api/draw2d.shape.basic.Circle' rel='draw2d.shape.basic.Circle' class='docClass'>draw2d.shape.basic.Circle</a><div class='subclass '><strong>draw2d.Corona</strong></div></div></div></div></div></div><h4>Files</h4><div class='dependency'><a href='source/Port.html#draw2d-Corona' target='_blank'>Port.js</a></div></pre><div class='doc-contents'><p>Glow effect for ports. Just for internal use.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-attr'>Attributes</h3><div class='subsection'><div id='attr-alpha' class='member first-child inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-attr-alpha' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-attr-alpha' class='name expandable'>alpha</a> : Number<span class=\"signature\"></span></div><div class='description'><div class='short'>the the alpha/opacity of the shape. ...</div><div class='long'><p>the the alpha/opacity of the shape. value must be between [0..1]</p>\n</div></div></div><div id='attr-angle' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-attr-angle' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-attr-angle' class='name expandable'>angle</a> : Number<span class=\"signature\"></span></div><div class='description'><div class='short'>the rotation angle of the shape. ...</div><div class='long'><p>the rotation angle of the shape. At the moment only 90 degree increments are possible</p>\n</div></div></div><div id='attr-bgColor' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.VectorFigure' rel='draw2d.VectorFigure' class='defined-in docClass'>draw2d.VectorFigure</a><br/><a href='source/VectorFigure.html#draw2d-VectorFigure-attr-bgColor' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.VectorFigure-attr-bgColor' class='name expandable'>bgColor</a> : String|<a href=\"#!/api/draw2d.util.Color\" rel=\"draw2d.util.Color\" class=\"docClass\">draw2d.util.Color</a><span class=\"signature\"></span></div><div class='description'><div class='short'><p>the background color of the shape</p>\n</div><div class='long'><p>the background color of the shape</p>\n</div></div></div><div id='attr-boundingBox' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-attr-boundingBox' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-attr-boundingBox' class='name expandable'>boundingBox</a> : Rectangle<span class=\"signature\"></span></div><div class='description'><div class='short'><p>set the new bounding box of the shape</p>\n</div><div class='long'><p>set the new bounding box of the shape</p>\n</div></div></div><div id='attr-color' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.VectorFigure' rel='draw2d.VectorFigure' class='defined-in docClass'>draw2d.VectorFigure</a><br/><a href='source/VectorFigure.html#draw2d-VectorFigure-attr-color' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.VectorFigure-attr-color' class='name expandable'>color</a> : String|<a href=\"#!/api/draw2d.util.Color\" rel=\"draw2d.util.Color\" class=\"docClass\">draw2d.util.Color</a><span class=\"signature\"></span></div><div class='description'><div class='short'><p>the main color of the shape</p>\n</div><div class='long'><p>the main color of the shape</p>\n</div></div></div><div id='attr-cssClass' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-attr-cssClass' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-attr-cssClass' class='name expandable'>cssClass</a> : String<span class=\"signature\"></span></div><div class='description'><div class='short'>the css class of the shape. ...</div><div class='long'><p>the css class of the shape. can be used to style the shape via CSS3 (SVG only)</p>\n</div></div></div><div id='attr-diameter' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.basic.Circle' rel='draw2d.shape.basic.Circle' class='defined-in docClass'>draw2d.shape.basic.Circle</a><br/><a href='source/Circle.html#draw2d-shape-basic-Circle-attr-diameter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.basic.Circle-attr-diameter' class='name expandable'>diameter</a> : Number<span class=\"signature\"></span></div><div class='description'><div class='short'><p>the diameter of the circle</p>\n</div><div class='long'><p>the diameter of the circle</p>\n</div></div></div><div id='attr-glow' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-attr-glow' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-attr-glow' class='name expandable'>glow</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>the glow flag for the shape. ...</div><div class='long'><p>the glow flag for the shape. The representation of the \"glow\" depends on the shape</p>\n</div></div></div><div id='attr-height' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-attr-height' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-attr-height' class='name expandable'>height</a> : Number<span class=\"signature\"></span></div><div class='description'><div class='short'>the new height of the figure. ...</div><div class='long'><p>the new height of the figure. Considering the minHeight of the shape</p>\n</div></div></div><div id='attr-keepAspectRatio' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-attr-keepAspectRatio' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-attr-keepAspectRatio' class='name expandable'>keepAspectRatio</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'><p>indicate if the shape should keep the aspect ratio during resize</p>\n</div><div class='long'><p>indicate if the shape should keep the aspect ratio during resize</p>\n</div></div></div><div id='attr-minHeight' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-attr-minHeight' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-attr-minHeight' class='name expandable'>minHeight</a> : Number<span class=\"signature\"></span></div><div class='description'><div class='short'><p>the new min height of the figure.</p>\n</div><div class='long'><p>the new min height of the figure.</p>\n</div></div></div><div id='attr-minWidth' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-attr-minWidth' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-attr-minWidth' class='name expandable'>minWidth</a> : Number<span class=\"signature\"></span></div><div class='description'><div class='short'><p>the new min width of the figure.</p>\n</div><div class='long'><p>the new min width of the figure.</p>\n</div></div></div><div id='attr-opacity' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-attr-opacity' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-attr-opacity' class='name expandable'>opacity</a> : Number<span class=\"signature\"></span></div><div class='description'><div class='short'>the the alpha/opacity of the shape. ...</div><div class='long'><p>the the alpha/opacity of the shape. value must be between [0..1]</p>\n</div></div></div><div id='attr-radius' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.basic.Circle' rel='draw2d.shape.basic.Circle' class='defined-in docClass'>draw2d.shape.basic.Circle</a><br/><a href='source/Circle.html#draw2d-shape-basic-Circle-attr-radius' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.basic.Circle-attr-radius' class='name expandable'>radius</a> : Number<span class=\"signature\"></span></div><div class='description'><div class='short'><p>the radius of the circle</p>\n</div><div class='long'><p>the radius of the circle</p>\n<p>Overrides: <a href=\"#!/api/draw2d.VectorFigure-attr-radius\" rel=\"draw2d.VectorFigure-attr-radius\" class=\"docClass\">draw2d.VectorFigure.radius</a></p></div></div></div><div id='attr-resizeable' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-attr-resizeable' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-attr-resizeable' class='name expandable'>resizeable</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'><p>drives the resizeable behaviour of the shape</p>\n</div><div class='long'><p>drives the resizeable behaviour of the shape</p>\n</div></div></div><div id='attr-selectable' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-attr-selectable' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-attr-selectable' class='name expandable'>selectable</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'><p>drives the selectable behaviour of the shape</p>\n</div><div class='long'><p>drives the selectable behaviour of the shape</p>\n</div></div></div><div id='attr-stroke' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.VectorFigure' rel='draw2d.VectorFigure' class='defined-in docClass'>draw2d.VectorFigure</a><br/><a href='source/VectorFigure.html#draw2d-VectorFigure-attr-stroke' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.VectorFigure-attr-stroke' class='name expandable'>stroke</a> : Number<span class=\"signature\"></span></div><div class='description'><div class='short'><p>the stroke width</p>\n</div><div class='long'><p>the stroke width</p>\n</div></div></div><div id='attr-userData' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-attr-userData' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-attr-userData' class='name expandable'>userData</a> : Object<span class=\"signature\"></span></div><div class='description'><div class='short'><p>additional custom data which can be stored by the shape</p>\n</div><div class='long'><p>additional custom data which can be stored by the shape</p>\n</div></div></div><div id='attr-visible' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-attr-visible' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-attr-visible' class='name expandable'>visible</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'><p>set the visibility flag of the shape</p>\n</div><div class='long'><p>set the visibility flag of the shape</p>\n</div></div></div><div id='attr-width' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-attr-width' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-attr-width' class='name expandable'>width</a> : Number<span class=\"signature\"></span></div><div class='description'><div class='short'>the new width of the figure. ...</div><div class='long'><p>the new width of the figure. Considering the minWidth of the shape</p>\n</div></div></div><div id='attr-x' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-attr-x' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-attr-x' class='name expandable'>x</a> : Number<span class=\"signature\"></span></div><div class='description'><div class='short'><p>the x offset of the figure in relation to the parent figure or canvas</p>\n</div><div class='long'><p>the x offset of the figure in relation to the parent figure or canvas</p>\n</div></div></div><div id='attr-y' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-attr-y' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-attr-y' class='name expandable'>y</a> : Number<span class=\"signature\"></span></div><div class='description'><div class='short'><p>the y offset of the figure in relation to the parent figure or canvas</p>\n</div><div class='long'><p>the y offset of the figure in relation to the parent figure or canvas</p>\n</div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-constructor' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='draw2d.Corona'>draw2d.Corona</span><br/><a href='source/Port.html#draw2d-Corona-method-constructor' target='_blank' class='view-source'>view source</a></div><strong class='new-keyword'>new</strong><a href='#!/api/draw2d.Corona-method-constructor' class='name expandable'>draw2d.Corona</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.Corona\" rel=\"draw2d.Corona\" class=\"docClass\">draw2d.Corona</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Creates a new Node element which are not assigned to any canvas. ...</div><div class='long'><p>Creates a new Node element which are not assigned to any canvas.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Corona\" rel=\"draw2d.Corona\" class=\"docClass\">draw2d.Corona</a></span><div class='sub-desc'>\n</div></li></ul><p>Overrides: <a href=\"#!/api/draw2d.shape.basic.Circle-method-constructor\" rel=\"draw2d.shape.basic.Circle-method-constructor\" class=\"docClass\">draw2d.shape.basic.Circle.constructor</a></p></div></div></div><div id='method-add' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-add' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-add' class='name expandable'>add</a>( <span class='pre'>figure, locator, [index]</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Add a child figure to the figure. ...</div><div class='long'><p>Add a child figure to the figure. The hands over figure doesn't support drag&amp;drop\noperations. It's only a decorator for the connection.<br>\nMainly for labels or other decorations</p>\n\n<pre><code>var start = new <a href=\"#!/api/draw2d.shape.node.Start\" rel=\"draw2d.shape.node.Start\" class=\"docClass\">draw2d.shape.node.Start</a>({x:80, y:150});\nstart.add(new <a href=\"#!/api/draw2d.shape.basic.Label\" rel=\"draw2d.shape.basic.Label\" class=\"docClass\">draw2d.shape.basic.Label</a>({text:\"Test Label\"}), new <a href=\"#!/api/draw2d.layout.locator.TopLocator\" rel=\"draw2d.layout.locator.TopLocator\" class=\"docClass\">draw2d.layout.locator.TopLocator</a>());  \n\ncanvas.add( start);\n</code></pre>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>figure</span> : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><div class='sub-desc'><p>the figure to add as decoration to the connection.</p>\n</div></li><li><span class='pre'>locator</span> : <a href=\"#!/api/draw2d.layout.locator.Locator\" rel=\"draw2d.layout.locator.Locator\" class=\"docClass\">draw2d.layout.locator.Locator</a><div class='sub-desc'><p>the locator for the child.</p>\n</div></li><li><span class='pre'>index</span> : Number (optional)<div class='sub-desc'><p>optional index where to insert the figure</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-addCssClass' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-addCssClass' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-addCssClass' class='name expandable'>addCssClass</a>( <span class='pre'>className</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Add a CSS class to the figure. ...</div><div class='long'><p>Add a CSS class to the figure.<br>\nIt's important to note that this method does not replace a class. It simply adds the class,\nappending it to any which may already be assigned to the elements.</p>\n        <p>Available since: <b>2.9.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>className</span> : String<div class='sub-desc'>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:cssClass</li><li>change:userData</li></ul></div></div></div><div id='method-addFigure' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-addFigure' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-addFigure' class='name expandable'>addFigure</a>( <span class='pre'>child, locator</span> )<span class=\"signature\"><span class='deprecated' >deprecated</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n        <div class='rounded-box deprecated-box deprecated-tag-box'>\n        <p>This method has been <strong>deprected</strong> </p>\n        <p>use <a href=\"#!/api/draw2d.Figure-method-add\" rel=\"draw2d.Figure-method-add\" class=\"docClass\">draw2d.Figure.add</a>()</p>\n\n        </div>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>child</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>locator</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-addPort' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-addPort' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-addPort' class='name expandable'>addPort</a>( <span class='pre'>port, locator</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Add a port to this node at the given position. ...</div><div class='long'><p>Add a port to this node at the given position.<br></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>port</span> : <a href=\"#!/api/draw2d.Port\" rel=\"draw2d.Port\" class=\"docClass\">draw2d.Port</a><div class='sub-desc'><p>The new port to add.</p>\n</div></li><li><span class='pre'>locator</span> : <a href=\"#!/api/draw2d.layout.locator.Locator\" rel=\"draw2d.layout.locator.Locator\" class=\"docClass\">draw2d.layout.locator.Locator</a><div class='sub-desc'><p>The layouter for the port.</p>\n</div></li></ul></div></div></div><div id='method-applyTransformation' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-applyTransformation' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-applyTransformation' class='name expandable'>applyTransformation</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span><span class='private' >private</span><span class='template' >template</span></span></div><div class='description'><div class='short'>apply a transformation to the shape like rotation, translate,.. ...</div><div class='long'><p>apply a transformation to the shape like rotation, translate,..</p>\n      <div class='rounded-box template-box'>\n      <p>This is a <a href=\"#!/guide/components\">template method</a>.\n         a hook into the functionality of this class.\n         Feel free to override it in child classes.</p>\n      </div>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-attr' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-attr' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-attr' class='name expandable'>attr</a>( <span class='pre'>name, [value]</span> ) : Object<span class=\"signature\"><span class='experimental' >experimental</span></span></div><div class='description'><div class='short'>Read or set shape attributes. ...</div><div class='long'><p>Read or set shape attributes.<br>\nWhen no value is given, reads specified attribute from the element.<br>\nWhen value is given, sets the attribute to that value.\nMultiple attributes can be set by passing an object with name-value pairs.</p>\n\n<pre><code>var figure = new <a href=\"#!/api/draw2d.shape.basic.Rectangle\" rel=\"draw2d.shape.basic.Rectangle\" class=\"docClass\">draw2d.shape.basic.Rectangle</a>();\nfigure.attr('x');      //=&gt; read value\nfigure.attr('x', 30);  //=&gt; set value\n\n// multiple attributes:\nfigure.attr({\n  x: 30,\n  y: 40,\n  width : 200,\n  height: 50,\n  cssClass: \"red_border_figure\"\n});\n</code></pre>\n\n<p>Additional you can set the user defined values (userData) with this method\nusing the dot-notation. User defined values are always part of the exported\nJSON data.</p>\n\n<pre><code>// setting multiple attributes:\nfigure.attr({\n  userData.my.property.x: 30,\n  userData.my.property.y: 40\n});\n</code></pre>\n\n<p>Also set using array notation is possible for the userData:</p>\n\n<pre><code>// dot notation and array brackets:\nfigure.attr({\n  userData.my.names[0]: \"John\",\n  userData.my.names[1]: \"Doe\"\n});\n</code></pre>\n\n<p>The Object returned should be the equivalent structured object:</p>\n\n<pre><code>var obj = figure.getUserData();\n</code></pre>\n\n<p>That is, where obj is equivalent to:</p>\n\n<pre><code>var obj = {\n    my:{\n        property:{\n            x: 30,\n            y: 40\n       },\n       names:  [\"John\", \"Doe\"]\n   }\n</code></pre>\n\n<p>   };</p>\n        <p>Available since: <b>5.0.1</b></p>\n        <div class='rounded-box experimental-box deprecated-tag-box'>\n        <p>This method is <strong>experimental</strong> </p>\n        \n\n        </div>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>name</span> : String/Object<div class='sub-desc'>\n</div></li><li><span class='pre'>value</span> : Object (optional)<div class='sub-desc'>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Object</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-clone' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-clone' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-clone' class='name expandable'>clone</a>( <span class='pre'></span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Clone the figure. ...</div><div class='long'><p>Clone the figure. <br>\nYou must override and implement the methods <b>getPersistentAttributes</b> and <b>setPersistentAttributes</b> for your custom\nfigures if the have special attributes.</p>\n<p>Overrides: <a href=\"#!/api/draw2d.Figure-method-clone\" rel=\"draw2d.Figure-method-clone\" class=\"docClass\">draw2d.Figure.clone</a></p></div></div></div><div id='method-contains' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-contains' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-contains' class='name expandable'>contains</a>( <span class='pre'>containedFigure</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Check to see if a figure is a descendant of another figure. ...</div><div class='long'><p>Check to see if a figure is a descendant of another figure.\n<br>\nThe contains() method returns true if the figure provided by the argument is a descendant of this figure,\nwhether it is a direct child or nested more deeply. Otherwise, it returns false.</p>\n        <p>Available since: <b>5.5.4</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>containedFigure</span> : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><div class='sub-desc'><p>The figure that may be contained by (a descendant of) this figure.</p>\n</div></li></ul></div></div></div><div id='method-createCommand' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-createCommand' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-createCommand' class='name expandable'>createCommand</a>( <span class='pre'>request</span> ) : <a href=\"#!/api/draw2d.command.Command\" rel=\"draw2d.command.Command\" class=\"docClass\">draw2d.command.Command</a><span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Returns the Command to perform the specified Request or null. ...</div><div class='long'><p>Returns the Command to perform the specified Request or null.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>request</span> : <a href=\"#!/api/draw2d.command.CommandType\" rel=\"draw2d.command.CommandType\" class=\"docClass\">draw2d.command.CommandType</a><div class='sub-desc'><p>describes the Command being requested</p>\n\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.command.Command\" rel=\"draw2d.command.Command\" class=\"docClass\">draw2d.command.Command</a></span><div class='sub-desc'><p>null or a Command</p>\n\n\n\n</div></li></ul><p>Overrides: <a href=\"#!/api/draw2d.Figure-method-createCommand\" rel=\"draw2d.Figure-method-createCommand\" class=\"docClass\">draw2d.Figure.createCommand</a></p></div></div></div><div id='method-createPort' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-createPort' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-createPort' class='name expandable'>createPort</a>( <span class='pre'>type, [locator]</span> )<span class=\"signature\"><span class='template' >template</span></span></div><div class='description'><div class='short'>Create a standard Port for this element. ...</div><div class='long'><p>Create a standard Port for this element. Inherited class can override this\nmethod to create its own type of ports.</p>\n      <div class='rounded-box template-box'>\n      <p>This is a <a href=\"#!/guide/components\">template method</a>.\n         a hook into the functionality of this class.\n         Feel free to override it in child classes.</p>\n      </div>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>type</span> : String<div class='sub-desc'><p>the type of the requested port. possible [\"input\", \"output\"]</p>\n</div></li><li><span class='pre'>locator</span> : <a href=\"#!/api/draw2d.layout.locator.Locator\" rel=\"draw2d.layout.locator.Locator\" class=\"docClass\">draw2d.layout.locator.Locator</a> (optional)<div class='sub-desc'><p>the layouter to use for this port</p>\n</div></li></ul></div></div></div><div id='method-createShapeElement' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.basic.Oval' rel='draw2d.shape.basic.Oval' class='defined-in docClass'>draw2d.shape.basic.Oval</a><br/><a href='source/Oval.html#draw2d-shape-basic-Oval-method-createShapeElement' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.basic.Oval-method-createShapeElement' class='name expandable'>createShapeElement</a>( <span class='pre'></span> )<span class=\"signature\"><span class='template' >template</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n      <div class='rounded-box template-box'>\n      <p>This is a <a href=\"#!/guide/components\">template method</a>.\n         a hook into the functionality of this class.\n         Feel free to override it in child classes.</p>\n      </div>\n<p>Overrides: <a href=\"#!/api/draw2d.Figure-method-createShapeElement\" rel=\"draw2d.Figure-method-createShapeElement\" class=\"docClass\">draw2d.Figure.createShapeElement</a></p></div></div></div><div id='method-fireEvent' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-fireEvent' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-fireEvent' class='name expandable'>fireEvent</a>( <span class='pre'>event, [args]</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Execute all handlers and behaviors attached to the figure for the given event type. ...</div><div class='long'><p>Execute all handlers and behaviors attached to the figure for the given event type.</p>\n        <p>Available since: <b>5.0.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>event</span> : String<div class='sub-desc'><p>the event to trigger</p>\n</div></li><li><span class='pre'>args</span> : Object (optional)<div class='sub-desc'><p>optional parameters for the triggered event callback</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li></ul></div></div></div><div id='method-getAbsoluteBounds' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getAbsoluteBounds' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getAbsoluteBounds' class='name expandable'>getAbsoluteBounds</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.geo.Rectangle\" rel=\"draw2d.geo.Rectangle\" class=\"docClass\">draw2d.geo.Rectangle</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Returns the absolute y-position of the port. ...</div><div class='long'><p>Returns the absolute y-position of the port.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.geo.Rectangle\" rel=\"draw2d.geo.Rectangle\" class=\"docClass\">draw2d.geo.Rectangle</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getAbsolutePosition' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getAbsolutePosition' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getAbsolutePosition' class='name expandable'>getAbsolutePosition</a>( <span class='pre'></span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Returns the absolute y-position of the port. ...</div><div class='long'><p>Returns the absolute y-position of the port.</p>\n</div></div></div><div id='method-getAbsoluteX' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getAbsoluteX' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getAbsoluteX' class='name expandable'>getAbsoluteX</a>( <span class='pre'></span> ) : Number<span class=\"signature\"></span></div><div class='description'><div class='short'>The x-offset related to the canvas. ...</div><div class='long'><p>The x-offset related to the canvas.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>Number</span><div class='sub-desc'><p>the x-offset to the canvas</p>\n</div></li></ul></div></div></div><div id='method-getAbsoluteY' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getAbsoluteY' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getAbsoluteY' class='name expandable'>getAbsoluteY</a>( <span class='pre'></span> ) : Number<span class=\"signature\"></span></div><div class='description'><div class='short'>The y-offset related to the canvas. ...</div><div class='long'><p>The y-offset related to the canvas.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>Number</span><div class='sub-desc'><p>The y-offset to the canvas.</p>\n</div></li></ul></div></div></div><div id='method-getAlpha' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getAlpha' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getAlpha' class='name expandable'>getAlpha</a>( <span class='pre'></span> ) : Number<span class=\"signature\"></span></div><div class='description'><div class='short'>Return the alpha blending of the figure ...</div><div class='long'><p>Return the alpha blending of the figure</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>Number</span><div class='sub-desc'><p>the current alpha blending</p>\n</div></li></ul></div></div></div><div id='method-getBackgroundColor' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.VectorFigure' rel='draw2d.VectorFigure' class='defined-in docClass'>draw2d.VectorFigure</a><br/><a href='source/VectorFigure.html#draw2d-VectorFigure-method-getBackgroundColor' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.VectorFigure-method-getBackgroundColor' class='name expandable'>getBackgroundColor</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.util.Color\" rel=\"draw2d.util.Color\" class=\"docClass\">draw2d.util.Color</a><span class=\"signature\"></span></div><div class='description'><div class='short'>The current used background color. ...</div><div class='long'><p>The current used background color.</p>\n\n<pre><code> // Alternatively you can use the attr method:\n var color =figure.attr(\"bgColor\");\n</code></pre>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.util.Color\" rel=\"draw2d.util.Color\" class=\"docClass\">draw2d.util.Color</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getBestChild' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getBestChild' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getBestChild' class='name expandable'>getBestChild</a>( <span class='pre'>x, y, [figureToIgnore]</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Returns the best figure at the location [x,y]. ...</div><div class='long'><p>Returns the best figure at the location [x,y]. It is a simple hit test. Keep in mind that only visible objects\nare returned.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>x</span> : Number<div class='sub-desc'><p>The x position.</p>\n</div></li><li><span class='pre'>y</span> : Number<div class='sub-desc'><p>The y position.</p>\n</div></li><li><span class='pre'>figureToIgnore</span> : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a>|Array (optional)<div class='sub-desc'><p>The figures which should be ignored.</p>\n</div></li></ul></div></div></div><div id='method-getBoundingBox' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getBoundingBox' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getBoundingBox' class='name expandable'>getBoundingBox</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.geo.Rectangle\" rel=\"draw2d.geo.Rectangle\" class=\"docClass\">draw2d.geo.Rectangle</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Return the bounding box of the figure in absolute position to the canvas. ...</div><div class='long'><p>Return the bounding box of the figure in absolute position to the canvas.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.geo.Rectangle\" rel=\"draw2d.geo.Rectangle\" class=\"docClass\">draw2d.geo.Rectangle</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getCanSnapToHelper' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getCanSnapToHelper' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getCanSnapToHelper' class='name expandable'>getCanSnapToHelper</a>( <span class='pre'></span> ) : boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>Returns true if the figure can snap to any helper like a grid, guide, geometrie\nor something else. ...</div><div class='long'><p>Returns true if the figure can snap to any helper like a grid, guide, geometrie\nor something else.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>boolean</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getCanvas' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getCanvas' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getCanvas' class='name expandable'>getCanvas</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.Canvas\" rel=\"draw2d.Canvas\" class=\"docClass\">draw2d.Canvas</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Return the current assigned canvas container. ...</div><div class='long'><p>Return the current assigned canvas container.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Canvas\" rel=\"draw2d.Canvas\" class=\"docClass\">draw2d.Canvas</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getCenter' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.basic.Oval' rel='draw2d.shape.basic.Oval' class='defined-in docClass'>draw2d.shape.basic.Oval</a><br/><a href='source/Oval.html#draw2d-shape-basic-Oval-method-getCenter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.basic.Oval-method-getCenter' class='name expandable'>getCenter</a>( <span class='pre'></span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Get the center of the figure ...</div><div class='long'><p>Get the center of the figure</p>\n</div></div></div><div id='method-getChildren' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getChildren' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getChildren' class='name expandable'>getChildren</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.util.ArrayList\" rel=\"draw2d.util.ArrayList\" class=\"docClass\">draw2d.util.ArrayList</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Return all children/decorations of this shape which has been added with\ndraw2d.Figure.add ...</div><div class='long'><p>Return all children/decorations of this shape which has been added with\n<a href=\"#!/api/draw2d.Figure-method-add\" rel=\"draw2d.Figure-method-add\" class=\"docClass\">draw2d.Figure.add</a></p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.util.ArrayList\" rel=\"draw2d.util.ArrayList\" class=\"docClass\">draw2d.util.ArrayList</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getColor' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.VectorFigure' rel='draw2d.VectorFigure' class='defined-in docClass'>draw2d.VectorFigure</a><br/><a href='source/VectorFigure.html#draw2d-VectorFigure-method-getColor' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.VectorFigure-method-getColor' class='name expandable'>getColor</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.util.Color\" rel=\"draw2d.util.Color\" class=\"docClass\">draw2d.util.Color</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Get the current used foreground color ...</div><div class='long'><p>Get the current used foreground color</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.util.Color\" rel=\"draw2d.util.Color\" class=\"docClass\">draw2d.util.Color</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getComposite' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getComposite' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getComposite' class='name expandable'>getComposite</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.shape.composite.StrongComposite\" rel=\"draw2d.shape.composite.StrongComposite\" class=\"docClass\">draw2d.shape.composite.StrongComposite</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Get the assigned composite of this figure. ...</div><div class='long'><p>Get the assigned composite of this figure.</p>\n        <p>Available since: <b>4.8.0</b></p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.shape.composite.StrongComposite\" rel=\"draw2d.shape.composite.StrongComposite\" class=\"docClass\">draw2d.shape.composite.StrongComposite</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getConnections' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-getConnections' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-getConnections' class='name expandable'>getConnections</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.util.ArrayList\" rel=\"draw2d.util.ArrayList\" class=\"docClass\">draw2d.util.ArrayList</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Return all connections related to this node. ...</div><div class='long'><p>Return all connections related to this node.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.util.ArrayList\" rel=\"draw2d.util.ArrayList\" class=\"docClass\">draw2d.util.ArrayList</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getCssClass' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getCssClass' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getCssClass' class='name expandable'>getCssClass</a>( <span class='pre'></span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Return the css styling class name of the element. ...</div><div class='long'><p>Return the css styling class name of the element.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getDiameter' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.basic.Circle' rel='draw2d.shape.basic.Circle' class='defined-in docClass'>draw2d.shape.basic.Circle</a><br/><a href='source/Circle.html#draw2d-shape-basic-Circle-method-getDiameter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.basic.Circle-method-getDiameter' class='name expandable'>getDiameter</a>( <span class='pre'></span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Get the diameter of the circle. ...</div><div class='long'><p>Get the diameter of the circle.</p>\n        <p>Available since: <b>4.0.0</b></p>\n</div></div></div><div id='method-getHandleBBox' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getHandleBBox' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getHandleBBox' class='name expandable'>getHandleBBox</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.geo.Rectangle\" rel=\"draw2d.geo.Rectangle\" class=\"docClass\">draw2d.geo.Rectangle</a>|<a href=\"#!/api/draw2d.util.ArrayList\" rel=\"draw2d.util.ArrayList\" class=\"docClass\">draw2d.util.ArrayList</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Allow dragging only when the cursor is over a specific part of the figure. ...</div><div class='long'><p>Allow dragging only when the cursor is over a specific part of the figure.\n<br>\nOverride this method to specify the bounding box of an element or a <a href=\"#!/api/draw2d.util.ArrayList\" rel=\"draw2d.util.ArrayList\" class=\"docClass\">draw2d.util.ArrayList</a>\nof <a href=\"#!/api/draw2d.geo.Rectangle\" rel=\"draw2d.geo.Rectangle\" class=\"docClass\">draw2d.geo.Rectangle</a> of bounding boxes used to drag the figure. The returned coordinates\nare absolute coordinates to the canvas.\n<br>\n<br>\nDefault implementation returns <b>null<b> to indicate to use the complete figures as\ndrag handle.</b></b></p>\n        <p>Available since: <b>5.6.0</b></p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.geo.Rectangle\" rel=\"draw2d.geo.Rectangle\" class=\"docClass\">draw2d.geo.Rectangle</a>|<a href=\"#!/api/draw2d.util.ArrayList\" rel=\"draw2d.util.ArrayList\" class=\"docClass\">draw2d.util.ArrayList</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getHeight' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getHeight' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getHeight' class='name expandable'>getHeight</a>( <span class='pre'></span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>The current height of the figure. ...</div><div class='long'><p>The current height of the figure.</p>\n</div></div></div><div id='method-getHybridPort' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-getHybridPort' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-getHybridPort' class='name expandable'>getHybridPort</a>( <span class='pre'>portNameOrIndex</span> ) : <a href=\"#!/api/draw2d.InputPort\" rel=\"draw2d.InputPort\" class=\"docClass\">draw2d.InputPort</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Return the input port with the corresponding name. ...</div><div class='long'><p>Return the input port with the corresponding name.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>portNameOrIndex</span> : String/Number<div class='sub-desc'><p>The name or numeric index of the port to return.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.InputPort\" rel=\"draw2d.InputPort\" class=\"docClass\">draw2d.InputPort</a></span><div class='sub-desc'><p>Returns the port with the hands over name or null.</p>\n</div></li></ul></div></div></div><div id='method-getId' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getId' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getId' class='name expandable'>getId</a>( <span class='pre'></span> ) : String<span class=\"signature\"></span></div><div class='description'><div class='short'>Return the UUID of this element. ...</div><div class='long'><p>Return the UUID of this element.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>String</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getInputPort' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-getInputPort' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-getInputPort' class='name expandable'>getInputPort</a>( <span class='pre'>portNameOrIndex</span> ) : <a href=\"#!/api/draw2d.InputPort\" rel=\"draw2d.InputPort\" class=\"docClass\">draw2d.InputPort</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Return the input port with the corresponding name. ...</div><div class='long'><p>Return the input port with the corresponding name.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>portNameOrIndex</span> : String/Number<div class='sub-desc'><p>The name or numeric index of the port to return.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.InputPort\" rel=\"draw2d.InputPort\" class=\"docClass\">draw2d.InputPort</a></span><div class='sub-desc'><p>Returns the port with the hands over name or null.</p>\n</div></li></ul></div></div></div><div id='method-getInputPorts' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-getInputPorts' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-getInputPorts' class='name expandable'>getInputPorts</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.util.ArrayList\" rel=\"draw2d.util.ArrayList\" class=\"docClass\">draw2d.util.ArrayList</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Return all input ports of the node. ...</div><div class='long'><p>Return all input ports of the node.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.util.ArrayList\" rel=\"draw2d.util.ArrayList\" class=\"docClass\">draw2d.util.ArrayList</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getKeepAspectRatio' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getKeepAspectRatio' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getKeepAspectRatio' class='name expandable'>getKeepAspectRatio</a>( <span class='pre'></span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Return the flag if the shape keep the aspect ratio. ...</div><div class='long'><p>Return the flag if the shape keep the aspect ratio.</p>\n        <p>Available since: <b>4.1.0</b></p>\n</div></div></div><div id='method-getMinHeight' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getMinHeight' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getMinHeight' class='name expandable'>getMinHeight</a>( <span class='pre'></span> ) : Number<span class=\"signature\"></span></div><div class='description'><div class='short'>This value is relevant for the interactive resize of the figure. ...</div><div class='long'><p>This value is relevant for the interactive resize of the figure.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>Number</span><div class='sub-desc'><p>Returns the min. height of this object.</p>\n</div></li></ul></div></div></div><div id='method-getMinWidth' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getMinWidth' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getMinWidth' class='name expandable'>getMinWidth</a>( <span class='pre'></span> ) : Number<span class=\"signature\"></span></div><div class='description'><div class='short'>This value is relevant for the interactive resize of the figure. ...</div><div class='long'><p>This value is relevant for the interactive resize of the figure.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>Number</span><div class='sub-desc'><p>Returns the min. width of this object.</p>\n</div></li></ul></div></div></div><div id='method-getOutputPort' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-getOutputPort' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-getOutputPort' class='name expandable'>getOutputPort</a>( <span class='pre'>portNameOrIndex</span> ) : <a href=\"#!/api/draw2d.OutputPort\" rel=\"draw2d.OutputPort\" class=\"docClass\">draw2d.OutputPort</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Return the output port with the corresponding name. ...</div><div class='long'><p>Return the output port with the corresponding name.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>portNameOrIndex</span> : String/Number<div class='sub-desc'><p>The name or the numeric index of the port to return.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.OutputPort\" rel=\"draw2d.OutputPort\" class=\"docClass\">draw2d.OutputPort</a></span><div class='sub-desc'><p>Returns the port with the hands over name or null.</p>\n</div></li></ul></div></div></div><div id='method-getOutputPorts' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-getOutputPorts' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-getOutputPorts' class='name expandable'>getOutputPorts</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.util.ArrayList\" rel=\"draw2d.util.ArrayList\" class=\"docClass\">draw2d.util.ArrayList</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Return all output ports of the node. ...</div><div class='long'><p>Return all output ports of the node.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.util.ArrayList\" rel=\"draw2d.util.ArrayList\" class=\"docClass\">draw2d.util.ArrayList</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getParent' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getParent' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getParent' class='name expandable'>getParent</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Get the parent of this figure. ...</div><div class='long'><p>Get the parent of this figure.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getPersistPorts' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-getPersistPorts' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-getPersistPorts' class='name expandable'>getPersistPorts</a>( <span class='pre'></span> ) : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>Indicates if the figure writes the ports to the JSON structore too. ...</div><div class='long'><p>Indicates if the figure writes the ports to the JSON structore too.\nDefault is \"false\"</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>Boolean</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getPersistentAttributes' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.basic.Circle' rel='draw2d.shape.basic.Circle' class='defined-in docClass'>draw2d.shape.basic.Circle</a><br/><a href='source/Circle.html#draw2d-shape-basic-Circle-method-getPersistentAttributes' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.basic.Circle-method-getPersistentAttributes' class='name expandable'>getPersistentAttributes</a>( <span class='pre'></span> ) : Object<span class=\"signature\"></span></div><div class='description'><div class='short'>Return an objects with all important attributes for XML or JSON serialization ...</div><div class='long'><p>Return an objects with all important attributes for XML or JSON serialization</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>Object</span><div class='sub-desc'>\n</div></li></ul><p>Overrides: <a href=\"#!/api/draw2d.VectorFigure-method-getPersistentAttributes\" rel=\"draw2d.VectorFigure-method-getPersistentAttributes\" class=\"docClass\">draw2d.VectorFigure.getPersistentAttributes</a></p></div></div></div><div id='method-getPort' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-getPort' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-getPort' class='name expandable'>getPort</a>( <span class='pre'>portName</span> ) : <a href=\"#!/api/draw2d.Port\" rel=\"draw2d.Port\" class=\"docClass\">draw2d.Port</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Return the port with the corresponding name. ...</div><div class='long'><p>Return the port with the corresponding name.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>portName</span> : String<div class='sub-desc'><p>The name of the port to return.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Port\" rel=\"draw2d.Port\" class=\"docClass\">draw2d.Port</a></span><div class='sub-desc'><p>Returns the port with the hands over name or null.</p>\n</div></li></ul></div></div></div><div id='method-getPorts' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-getPorts' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-getPorts' class='name expandable'>getPorts</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.util.ArrayList\" rel=\"draw2d.util.ArrayList\" class=\"docClass\">draw2d.util.ArrayList</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Return all ports of the node. ...</div><div class='long'><p>Return all ports of the node.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.util.ArrayList\" rel=\"draw2d.util.ArrayList\" class=\"docClass\">draw2d.util.ArrayList</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getPosition' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getPosition' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getPosition' class='name expandable'>getPosition</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.geo.Point\" rel=\"draw2d.geo.Point\" class=\"docClass\">draw2d.geo.Point</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Get the current position of the figure ...</div><div class='long'><p>Get the current position of the figure</p>\n        <p>Available since: <b>2.0.0</b></p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.geo.Point\" rel=\"draw2d.geo.Point\" class=\"docClass\">draw2d.geo.Point</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getRadius' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.VectorFigure' rel='draw2d.VectorFigure' class='defined-in docClass'>draw2d.VectorFigure</a><br/><a href='source/VectorFigure.html#draw2d-VectorFigure-method-getRadius' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.VectorFigure-method-getRadius' class='name expandable'>getRadius</a>( <span class='pre'></span> ) : Number<span class=\"signature\"></span></div><div class='description'><div class='short'>Get the corner radius of the edges. ...</div><div class='long'><p>Get the corner radius of the edges.</p>\n        <p>Available since: <b>4.2.1</b></p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>Number</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getRoot' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getRoot' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getRoot' class='name expandable'>getRoot</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"></span></div><div class='description'><div class='short'>Get the top most parent of this figure. ...</div><div class='long'><p>Get the top most parent of this figure. This can be an layout figure or parent container</p>\n        <p>Available since: <b>5.0.6</b></p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getRotationAngle' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getRotationAngle' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getRotationAngle' class='name expandable'>getRotationAngle</a>( <span class='pre'></span> ) : Number<span class=\"signature\"></span></div><div class='description'><div class='short'>return the rotation angle of the figure in degree of [0..356]. ...</div><div class='long'><p>return the rotation angle of the figure in degree of [0..356].</p>\n\n<p><br>\n<b>NOTE: this method is pre alpha and not for production. Only steps of 90 degree is working well</b>\n<br></p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>Number</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getShapeElement' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getShapeElement' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getShapeElement' class='name expandable'>getShapeElement</a>( <span class='pre'></span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>return the current SVG shape element or create it on demand. ...</div><div class='long'><p>return the current SVG shape element or create it on demand.</p>\n</div></div></div><div id='method-getSnapToGridAnchor' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getSnapToGridAnchor' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getSnapToGridAnchor' class='name expandable'>getSnapToGridAnchor</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.geo.Point\" rel=\"draw2d.geo.Point\" class=\"docClass\">draw2d.geo.Point</a><span class=\"signature\"></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.geo.Point\" rel=\"draw2d.geo.Point\" class=\"docClass\">draw2d.geo.Point</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getStroke' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.VectorFigure' rel='draw2d.VectorFigure' class='defined-in docClass'>draw2d.VectorFigure</a><br/><a href='source/VectorFigure.html#draw2d-VectorFigure-method-getStroke' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.VectorFigure-method-getStroke' class='name expandable'>getStroke</a>( <span class='pre'></span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>The used line width. ...</div><div class='long'><p>The used line width.</p>\n</div></div></div><div id='method-getTopLevelShapeElement' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getTopLevelShapeElement' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getTopLevelShapeElement' class='name expandable'>getTopLevelShapeElement</a>( <span class='pre'></span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Get the top level shape element. ...</div><div class='long'><p>Get the top level shape element. May the figure has a set of SVG elements. In this case this\nmethod must return the top level node.<br>\nThis method is used for the toFron/toBack method to order the nodes in the correct way.</p>\n        <p>Available since: <b>5.0.0</b></p>\n</div></div></div><div id='method-getUserData' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getUserData' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getUserData' class='name expandable'>getUserData</a>( <span class='pre'></span> ) : Object<span class=\"signature\"></span></div><div class='description'><div class='short'>Returns any user data set previously on the given figure by setUserData. ...</div><div class='long'><p>Returns any user data set previously on the given figure by setUserData.</p>\n        <p>Available since: <b>2.7.2</b></p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>Object</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getWidth' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getWidth' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getWidth' class='name expandable'>getWidth</a>( <span class='pre'></span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>The current width of the figure. ...</div><div class='long'><p>The current width of the figure.</p>\n</div></div></div><div id='method-getX' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getX' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getX' class='name expandable'>getX</a>( <span class='pre'></span> ) : Number<span class=\"signature\"></span></div><div class='description'><div class='short'>The x-offset related to the parent figure or canvas. ...</div><div class='long'><p>The x-offset related to the parent figure or canvas.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>Number</span><div class='sub-desc'><p>the x-offset to the parent figure</p>\n</div></li></ul></div></div></div><div id='method-getY' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getY' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getY' class='name expandable'>getY</a>( <span class='pre'></span> ) : Number<span class=\"signature\"></span></div><div class='description'><div class='short'>The y-offset related to the parent figure or canvas. ...</div><div class='long'><p>The y-offset related to the parent figure or canvas.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>Number</span><div class='sub-desc'><p>The y-offset to the parent figure.</p>\n</div></li></ul></div></div></div><div id='method-getZOrder' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-getZOrder' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-getZOrder' class='name expandable'>getZOrder</a>( <span class='pre'></span> ) : Number<span class=\"signature\"></span></div><div class='description'><div class='short'>Return the current z-index of the element. ...</div><div class='long'><p>Return the current z-index of the element. Currently this is an expensive method. The index will be calculated\nall the time. Caching is not implemented at the moment.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>Number</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-hasCssClass' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-hasCssClass' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-hasCssClass' class='name expandable'>hasCssClass</a>( <span class='pre'>className</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>The method will return true if the class is assigned to the element, even if other classes also are. ...</div><div class='long'><p>The method will return true if the class is assigned to the element, even if other classes also are.</p>\n        <p>Available since: <b>2.9.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>className</span> : String<div class='sub-desc'><p>the class name to check</p>\n</div></li></ul></div></div></div><div id='method-hitTest' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-hitTest' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-hitTest' class='name expandable'>hitTest</a>( <span class='pre'>iX, iY, [corona]</span> ) : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>Detect whenever the hands over coordinate is inside the figure. ...</div><div class='long'><p>Detect whenever the hands over coordinate is inside the figure.\nThe default implementation is a simple bounding box test.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>iX</span> : Number<div class='sub-desc'>\n</div></li><li><span class='pre'>iY</span> : Number<div class='sub-desc'>\n</div></li><li><span class='pre'>corona</span> : Number (optional)<div class='sub-desc'>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Boolean</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-installEditPolicy' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-installEditPolicy' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-installEditPolicy' class='name expandable'>installEditPolicy</a>( <span class='pre'>policy</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Install a new edit policy to the figure. ...</div><div class='long'><p>Install a new edit policy to the figure. Each editpolicy is able to focus on a single editing\ntask or group of related tasks. This also allows editing behavior to be selectively reused across\ndifferent figure implementations. Also, behavior can change dynamically, such as when the layouts\nor routing methods change.</p>\n\n<p>Example for limited DragDrop behavior can be a draw2d.layout.constraint.RegionConstriantPolicy.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>policy</span> : <a href=\"#!/api/draw2d.policy.EditPolicy\" rel=\"draw2d.policy.EditPolicy\" class=\"docClass\">draw2d.policy.EditPolicy</a><div class='sub-desc'>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-intersectionWithLine' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.basic.Oval' rel='draw2d.shape.basic.Oval' class='defined-in docClass'>draw2d.shape.basic.Oval</a><br/><a href='source/Oval.html#draw2d-shape-basic-Oval-method-intersectionWithLine' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.basic.Oval-method-intersectionWithLine' class='name expandable'>intersectionWithLine</a>( <span class='pre'>a1, a2</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>**\n\n  intersectEllipseLine\n\n  NOTE: Rotation will need to be added to this function ...</div><div class='long'><p>**</p>\n\n<p>  intersectEllipseLine</p>\n\n<p>  NOTE: Rotation will need to be added to this function</p>\n\n<hr />\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>a1</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>a2</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-isDeleteable' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-isDeleteable' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-isDeleteable' class='name expandable'>isDeleteable</a>( <span class='pre'></span> ) : boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>Return false if you avoid that the user can delete your figure. ...</div><div class='long'><p>Return false if you avoid that the user can delete your figure.\nSub class can override this method.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>boolean</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-isDraggable' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-isDraggable' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-isDraggable' class='name expandable'>isDraggable</a>( <span class='pre'></span> ) : boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>Get the Drag drop enable flag ...</div><div class='long'><p>Get the Drag drop enable flag</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>boolean</span><div class='sub-desc'><p>The new drag drop indicator</p>\n</div></li></ul></div></div></div><div id='method-isResizeable' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-isResizeable' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-isResizeable' class='name expandable'>isResizeable</a>( <span class='pre'></span> ) : boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>Returns the true if the figure can be resized. ...</div><div class='long'><p>Returns the true if the figure can be resized.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>boolean</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-isSelectable' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-isSelectable' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-isSelectable' class='name expandable'>isSelectable</a>( <span class='pre'></span> ) : boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>Indicates whenever the element is selectable by user interaction or API. ...</div><div class='long'><p>Indicates whenever the element is selectable by user interaction or API.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>boolean</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-isSelected' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-isSelected' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-isSelected' class='name expandable'>isSelected</a>( <span class='pre'></span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Returns true if the figure part of the current canvas selection. ...</div><div class='long'><p>Returns true if the figure part of the current canvas selection.</p>\n        <p>Available since: <b>5.5.6</b></p>\n</div></div></div><div id='method-isStrechable' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-isStrechable' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-isStrechable' class='name expandable'>isStrechable</a>( <span class='pre'></span> ) : boolean<span class=\"signature\"><span class='deprecated' >deprecated</span></span></div><div class='description'><div class='short'>Return true if the object doesn't care about the aspect ratio. ...</div><div class='long'><p>Return true if the object doesn't care about the aspect ratio.\nYou can change the height and width independent.<br></p>\n\n<p>Replaced with \"getKeepAspectRatio\"</p>\n        <div class='rounded-box deprecated-box deprecated-tag-box'>\n        <p>This method has been <strong>deprected</strong> </p>\n        \n\n        </div>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>boolean</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-isVisible' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-isVisible' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-isVisible' class='name expandable'>isVisible</a>( <span class='pre'></span> ) : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>Return true if the figure visible. ...</div><div class='long'><p>Return true if the figure visible.</p>\n        <p>Available since: <b>1.1.0</b></p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'>Boolean</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-layoutPorts' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-layoutPorts' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-layoutPorts' class='name expandable'>layoutPorts</a>( <span class='pre'></span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n</div></div></div><div id='method-off' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-off' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-off' class='name expandable'>off</a>( <span class='pre'>eventOrFunction</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>The .off() method removes event handlers that were attached with on. ...</div><div class='long'><p>The .off() method removes event handlers that were attached with <a href=\"#!/api/draw2d.Figure-method-on\" rel=\"draw2d.Figure-method-on\" class=\"docClass\">on</a>.<br>\nCalling .off() with no arguments removes all handlers attached to the elements.<br>\n<br>\nIf a simple event name such as \"move\" is provided, all events of that type are removed from the figure.</p>\n        <p>Available since: <b>5.0.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>eventOrFunction</span> : String|Function<div class='sub-desc'><p>the event name of the registerd function or the function itself</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-on' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-on' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-on' class='name expandable'>on</a>( <span class='pre'>event, callback, [context]</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Attach an event handler function for one or more events to the figure. ...</div><div class='long'><p>Attach an event handler function for one or more events to the figure.\nTo remove events bound with .on(), see <a href=\"#!/api/draw2d.Figure-method-off\" rel=\"draw2d.Figure-method-off\" class=\"docClass\">off</a>.</p>\n\n<p>possible events are:<br></p>\n\n<ul>\n  <li>click</li>\n  <li>dblclick</li>\n  <li>move</li>\n  <li>resize</li>\n  <li>timer</li>\n  <li>contextmenu</li>\n  <li>show</li>\n  <li>hide</li>\n  <li>change:[attr]</li>\n</ul>\n\n        <p>Available since: <b>5.0.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>event</span> : String<div class='sub-desc'><p>One or more space-separated event types</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>A function to execute when the event is triggered.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>emitter</span> : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><div class='sub-desc'><p>the emitter of the event</p>\n</div></li><li><span class='pre'>obj</span> : Object (optional)<div class='sub-desc'><p>optional event related data</p>\n</div></li></ul></div></li><li><span class='pre'>context</span> : Object (optional)<div class='sub-desc'><p>optional context of the fucntion callback.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-onCatch' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-onCatch' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-onCatch' class='name expandable'>onCatch</a>( <span class='pre'>droppedFigure, x, y, shiftKey, ctrlKey</span> )<span class=\"signature\"><span class='template' >template</span></span></div><div class='description'><div class='short'>Called if the user dropped an figure onto this element. ...</div><div class='long'><p>Called if the user dropped an figure onto this element. This event is ONLY fired if the\nin the canvas installed <a href=\"#!/api/draw2d.policy.canvas.ConnectionInterceptorPolicy\" rel=\"draw2d.policy.canvas.ConnectionInterceptorPolicy\" class=\"docClass\">draw2d.policy.canvas.ConnectionInterceptorPolicy</a> allow this.</p>\n        <p>Available since: <b>4.8.0</b></p>\n      <div class='rounded-box template-box'>\n      <p>This is a <a href=\"#!/guide/components\">template method</a>.\n         a hook into the functionality of this class.\n         Feel free to override it in child classes.</p>\n      </div>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>droppedFigure</span> : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><div class='sub-desc'><p>The dropped figure.</p>\n</div></li><li><span class='pre'>x</span> : Number<div class='sub-desc'><p>the x-coordinate of the mouse up event</p>\n</div></li><li><span class='pre'>y</span> : Number<div class='sub-desc'><p>the y-coordinate of the mouse up event</p>\n</div></li><li><span class='pre'>shiftKey</span> : Boolean<div class='sub-desc'><p>true if the shift key has been pressed during this event</p>\n</div></li><li><span class='pre'>ctrlKey</span> : Boolean<div class='sub-desc'><p>true if the ctrl key has been pressed during the event</p>\n</div></li></ul></div></div></div><div id='method-onClick' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-onClick' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-onClick' class='name expandable'>onClick</a>( <span class='pre'></span> )<span class=\"signature\"><span class='deprecated' >deprecated</span><span class='template' >template</span></span></div><div class='description'><div class='short'>Called when a user clicks on the element. ...</div><div class='long'><p>Called when a user clicks on the element.</p>\n\n<pre><code> // You can alternatively register an event handler with:\n figure.on(\"click\", function(emitter){\n     alert(\"user click on the figure\");\n });\n</code></pre>\n        <div class='rounded-box deprecated-box deprecated-tag-box'>\n        <p>This method has been <strong>deprected</strong> </p>\n        \n\n        </div>\n      <div class='rounded-box template-box'>\n      <p>This is a <a href=\"#!/guide/components\">template method</a>.\n         a hook into the functionality of this class.\n         Feel free to override it in child classes.</p>\n      </div>\n</div></div></div><div id='method-onContextMenu' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-onContextMenu' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-onContextMenu' class='name expandable'>onContextMenu</a>( <span class='pre'>x, y</span> )<span class=\"signature\"><span class='template' >template</span></span></div><div class='description'><div class='short'>called by the framework if the figure should show the context menu. ...</div><div class='long'><p>called by the framework if the figure should show the context menu.<br>\nThe strategy to show the context menu depends on the platform. Either looong press or\nright click with the mouse.</p>\n\n<pre><code> // Alternatively you register for this event with:\n figure.on(\"contextmenu\", function(emitter){\n     alert(\"user press the right mouse button for a context menu\");\n });\n</code></pre>\n        <p>Available since: <b>1.1.0</b></p>\n      <div class='rounded-box template-box'>\n      <p>This is a <a href=\"#!/guide/components\">template method</a>.\n         a hook into the functionality of this class.\n         Feel free to override it in child classes.</p>\n      </div>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>x</span> : Number<div class='sub-desc'><p>the x-coordinate to show the menu</p>\n</div></li><li><span class='pre'>y</span> : Number<div class='sub-desc'><p>the y-coordinate to show the menu</p>\n</div></li></ul></div></div></div><div id='method-onDoubleClick' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-onDoubleClick' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-onDoubleClick' class='name expandable'>onDoubleClick</a>( <span class='pre'></span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Called when a user dbl clicks on the element\n\n // Alternatively you register for this event with:\n figure.on(\"dblclic...</div><div class='long'><p>Called when a user dbl clicks on the element</p>\n\n<pre><code> // Alternatively you register for this event with:\n figure.on(\"dblclick\", function(emitter){\n     alert(\"user dbl click on the figure\");\n });\n</code></pre>\n<p>Overrides: <a href=\"#!/api/draw2d.Figure-method-onDoubleClick\" rel=\"draw2d.Figure-method-onDoubleClick\" class=\"docClass\">draw2d.Figure.onDoubleClick</a></p></div></div></div><div id='method-onDrag' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-onDrag' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-onDrag' class='name expandable'>onDrag</a>( <span class='pre'>dx, dy, dx2, dy2</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Don't call them manually. ...</div><div class='long'><p>Don't call them manually. This will be done by the framework.<br>\nWill be called if the object are moved via drag and drop.\nSub classes can override this method to implement additional stuff. Don't forget to call\nthe super implementation via <code>this._super(dx, dy, dx2, dy2);</code></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>dx</span> : Number<div class='sub-desc'><p>the x difference between the start of the drag drop operation and now</p>\n</div></li><li><span class='pre'>dy</span> : Number<div class='sub-desc'><p>the y difference between the start of the drag drop operation and now</p>\n</div></li><li><span class='pre'>dx2</span> : Number<div class='sub-desc'><p>The x diff since the last call of this dragging operation</p>\n</div></li><li><span class='pre'>dy2</span> : Number<div class='sub-desc'><p>The y diff since the last call of this dragging operation</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:x</li><li>change:y</li><li>move</li></ul></div></div></div><div id='method-onDragEnd' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-onDragEnd' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-onDragEnd' class='name expandable'>onDragEnd</a>( <span class='pre'>x, y, shiftKey, ctrlKey</span> )<span class=\"signature\"><span class='template' >template</span></span></div><div class='description'><div class='short'>Will be called after a drag and drop action. ...</div><div class='long'><p>Will be called after a drag and drop action.<br>\nSub classes can override this method to implement additional stuff. Don't forget to call\nthe super implementation via <code>this._super();</code></p>\n      <div class='rounded-box template-box'>\n      <p>This is a <a href=\"#!/guide/components\">template method</a>.\n         a hook into the functionality of this class.\n         Feel free to override it in child classes.</p>\n      </div>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>x</span> : Number<div class='sub-desc'><p>the x-coordinate of the mouse event</p>\n</div></li><li><span class='pre'>y</span> : Number<div class='sub-desc'><p>the y-coordinate of the mouse event</p>\n</div></li><li><span class='pre'>shiftKey</span> : Boolean<div class='sub-desc'><p>true if the shift key has been pressed during this event</p>\n</div></li><li><span class='pre'>ctrlKey</span> : Boolean<div class='sub-desc'><p>true if the ctrl key has been pressed during the event</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:x</li><li>change:y</li><li>dragend</li><li>move</li></ul></div></div></div><div id='method-onDragEnter' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-onDragEnter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-onDragEnter' class='name expandable'>onDragEnter</a>( <span class='pre'>draggedFigure</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Called by the framework during drag&amp;drop operations if the user drag a figure over this figure ...</div><div class='long'><p>Called by the framework during drag&amp;drop operations if the user drag a figure over this figure</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>draggedFigure</span> : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><div class='sub-desc'><p>The figure which is currently dragging</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>the figure which should receive the drop event or null if the element didn't want a drop event</p>\n</div></li></ul></div></div></div><div id='method-onDragLeave' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-onDragLeave' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-onDragLeave' class='name expandable'>onDragLeave</a>( <span class='pre'>figure</span> )<span class=\"signature\"><span class='private' >private</span></span></div><div class='description'><div class='short'>Called if the DragDrop object leaving the current hover figure. ...</div><div class='long'><p>Called if the DragDrop object leaving the current hover figure.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>figure</span> : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><div class='sub-desc'><p>The figure which is currently dragging</p>\n</div></li></ul></div></div></div><div id='method-onDragStart' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-onDragStart' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-onDragStart' class='name expandable'>onDragStart</a>( <span class='pre'>x, y, shiftKey, ctrlKey</span> ) : boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>Called if the drag and drop action begins. ...</div><div class='long'><p>Called if the drag and drop action begins. You can return [false] if you\nwant avoid that the figure can be move.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>x</span> : Number<div class='sub-desc'><p>the x-coordinate of the mouse up event</p>\n</div></li><li><span class='pre'>y</span> : Number<div class='sub-desc'><p>the y-coordinate of the mouse up event</p>\n</div></li><li><span class='pre'>shiftKey</span> : Boolean<div class='sub-desc'><p>true if the shift key has been pressed during this event</p>\n</div></li><li><span class='pre'>ctrlKey</span> : Boolean<div class='sub-desc'><p>true if the ctrl key has been pressed during the event</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>boolean</span><div class='sub-desc'><p>true if the figure accepts dragging</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>dragstart</li></ul></div></div></div><div id='method-onDrop' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-onDrop' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-onDrop' class='name expandable'>onDrop</a>( <span class='pre'>dropTarget, x, y, shiftKey, ctrlKey</span> )<span class=\"signature\"><span class='template' >template</span></span></div><div class='description'><div class='short'>Called if the user drop this element onto the dropTarget. ...</div><div class='long'><p>Called if the user drop this element onto the dropTarget. This event is ONLY fired if the\nshape return \"this\" in the <a href=\"#!/api/draw2d.Figure-method-onDragEnter\" rel=\"draw2d.Figure-method-onDragEnter\" class=\"docClass\">onDragEnter</a> method.</p>\n      <div class='rounded-box template-box'>\n      <p>This is a <a href=\"#!/guide/components\">template method</a>.\n         a hook into the functionality of this class.\n         Feel free to override it in child classes.</p>\n      </div>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>dropTarget</span> : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><div class='sub-desc'><p>The drop target.</p>\n</div></li><li><span class='pre'>x</span> : Number<div class='sub-desc'><p>the x-coordinate of the mouse up event</p>\n</div></li><li><span class='pre'>y</span> : Number<div class='sub-desc'><p>the y-coordinate of the mouse up event</p>\n</div></li><li><span class='pre'>shiftKey</span> : Boolean<div class='sub-desc'><p>true if the shift key has been pressed during this event</p>\n</div></li><li><span class='pre'>ctrlKey</span> : Boolean<div class='sub-desc'><p>true if the ctrl key has been pressed during the event</p>\n</div></li></ul></div></div></div><div id='method-onMouseEnter' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-onMouseEnter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-onMouseEnter' class='name expandable'>onMouseEnter</a>( <span class='pre'></span> )<span class=\"signature\"><span class='template' >template</span></span></div><div class='description'><div class='short'>Callback method for the mouse enter event. ...</div><div class='long'><p>Callback method for the mouse enter event. Usefull for mouse hover-effects.\nOverride this method for your own effects. Don't call them manually.</p>\n      <div class='rounded-box template-box'>\n      <p>This is a <a href=\"#!/guide/components\">template method</a>.\n         a hook into the functionality of this class.\n         Feel free to override it in child classes.</p>\n      </div>\n</div></div></div><div id='method-onMouseLeave' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-onMouseLeave' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-onMouseLeave' class='name expandable'>onMouseLeave</a>( <span class='pre'></span> )<span class=\"signature\"><span class='template' >template</span></span></div><div class='description'><div class='short'>Callback method for the mouse leave event. ...</div><div class='long'><p>Callback method for the mouse leave event. Useful for mouse hover-effects.</p>\n      <div class='rounded-box template-box'>\n      <p>This is a <a href=\"#!/guide/components\">template method</a>.\n         a hook into the functionality of this class.\n         Feel free to override it in child classes.</p>\n      </div>\n</div></div></div><div id='method-onPanning' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-onPanning' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-onPanning' class='name expandable'>onPanning</a>( <span class='pre'>dx, dy, dx2, dy2</span> )<span class=\"signature\"><span class='template' >template</span></span></div><div class='description'><div class='short'>Called by the framework if the figure returns false for the drag operation. ...</div><div class='long'><p>Called by the framework if the figure returns false for the drag operation. In this\ncase we send a \"panning\" event - mouseDown + mouseMove. This is very useful for\nUI-Widget like slider, spinner,...</p>\n\n<pre><code> // You can alternatively register an event handler with:\n figure.on(\"panning\", function(emitter, eventData){\n     alert(\"panning of the figure called\");\n });\n</code></pre>\n      <div class='rounded-box template-box'>\n      <p>This is a <a href=\"#!/guide/components\">template method</a>.\n         a hook into the functionality of this class.\n         Feel free to override it in child classes.</p>\n      </div>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>dx</span> : Number<div class='sub-desc'><p>the x difference between the mouse down operation and now</p>\n</div></li><li><span class='pre'>dy</span> : Number<div class='sub-desc'><p>the y difference between the mouse down operation and now</p>\n</div></li><li><span class='pre'>dx2</span> : Number<div class='sub-desc'><p>The x diff since the last call of this dragging operation</p>\n</div></li><li><span class='pre'>dy2</span> : Number<div class='sub-desc'><p>The y diff since the last call of this dragging operation</p>\n</div></li></ul></div></div></div><div id='method-onPanningEnd' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-onPanningEnd' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-onPanningEnd' class='name expandable'>onPanningEnd</a>( <span class='pre'></span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Called by the framework if the panning event of the figures ends. ...</div><div class='long'><p>Called by the framework if the panning event of the figures ends. This happens\nafter the mous up event if the panning is active.</p>\n\n<pre><code> // You can alternatively register an event handler with:\n figure.on(\"panningEnd\", function(emitter){\n     alert(\"panning of the figure called\");\n });\n</code></pre>\n</div></div></div><div id='method-onPortValueChanged' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-onPortValueChanged' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-onPortValueChanged' class='name expandable'>onPortValueChanged</a>( <span class='pre'>relatedPort</span> )<span class=\"signature\"><span class='template' >template</span></span></div><div class='description'><div class='short'>Called if the value of any port has been changed ...</div><div class='long'><p>Called if the value of any port has been changed</p>\n      <div class='rounded-box template-box'>\n      <p>This is a <a href=\"#!/guide/components\">template method</a>.\n         a hook into the functionality of this class.\n         Feel free to override it in child classes.</p>\n      </div>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>relatedPort</span> : <a href=\"#!/api/draw2d.Port\" rel=\"draw2d.Port\" class=\"docClass\">draw2d.Port</a><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-onTimer' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-onTimer' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-onTimer' class='name expandable'>onTimer</a>( <span class='pre'></span> )<span class=\"signature\"><span class='template' >template</span></span></div><div class='description'><div class='short'>Callback method for the internal timer handling\nInherit classes must override this method if they want use the timer ...</div><div class='long'><p>Callback method for the internal timer handling<br>\nInherit classes must override this method if they want use the timer feature.</p>\n\n<pre><code> // Alternatively you can register for this event with  \n figure.on(\"timer\", function(emitter){\n     alert(\"timer fired\");\n });\n</code></pre>\n      <div class='rounded-box template-box'>\n      <p>This is a <a href=\"#!/guide/components\">template method</a>.\n         a hook into the functionality of this class.\n         Feel free to override it in child classes.</p>\n      </div>\n</div></div></div><div id='method-pick' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-pick' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-pick' class='name expandable'>pick</a>( <span class='pre'>obj, var_keys</span> )<span class=\"signature\"><span class='deprecated' >deprecated</span></span></div><div class='description'><div class='short'>Return a copy of the object, filtered to only have values for the whitelisted keys. ...</div><div class='long'><p>Return a copy of the object, filtered to only have values for the whitelisted keys.</p>\n        <div class='rounded-box deprecated-box deprecated-tag-box'>\n        <p>This method has been <strong>deprected</strong> </p>\n        \n\n        </div>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>obj</span> : Object<div class='sub-desc'></div></li><li><span class='pre'>var_keys</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-remove' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-remove' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-remove' class='name expandable'>remove</a>( <span class='pre'>child</span> ) : Object<span class=\"signature\"></span></div><div class='description'><div class='short'>Remove the child figure from this figure and the canvas ...</div><div class='long'><p>Remove the child figure from this figure and the canvas</p>\n        <p>Available since: <b>5.0.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>child</span> : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><div class='sub-desc'><p>the figure to remove.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Object</span><div class='sub-desc'><p>the removed tupple of figure/locator or null if the child isn't found</p>\n<ul><li><span class='pre'>figure</span> : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><div class='sub-desc'><p>The removed figure</p>\n</div></li><li><span class='pre'>locator</span> : <a href=\"#!/api/draw2d.shape.layout.Layout\" rel=\"draw2d.shape.layout.Layout\" class=\"docClass\">draw2d.shape.layout.Layout</a><div class='sub-desc'><p>The used locator of the figure</p>\n</div></li></ul></div></li></ul></div></div></div><div id='method-removeCssClass' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-removeCssClass' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-removeCssClass' class='name expandable'>removeCssClass</a>( <span class='pre'>className</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Remove the given css class name from the figure ...</div><div class='long'><p>Remove the given css class name from the figure</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>className</span> : String<div class='sub-desc'><p>the css class name to add</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:cssClass</li><li>change:userData</li></ul></div></div></div><div id='method-removeFigure' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-removeFigure' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-removeFigure' class='name expandable'>removeFigure</a>( <span class='pre'>child</span> )<span class=\"signature\"><span class='deprecated' >deprecated</span></span></div><div class='description'><div class='short'> ...</div><div class='long'>\n        <div class='rounded-box deprecated-box deprecated-tag-box'>\n        <p>This method has been <strong>deprected</strong> </p>\n        <p>use <a href=\"#!/api/draw2d.Figure-method-remove\" rel=\"draw2d.Figure-method-remove\" class=\"docClass\">draw2d.Figure.remove</a>()</p>\n\n        </div>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>child</span> : Object<div class='sub-desc'></div></li></ul></div></div></div><div id='method-removePort' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-removePort' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-removePort' class='name expandable'>removePort</a>( <span class='pre'>port</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Removes a port and all related connections from this node. ...</div><div class='long'><p>Removes a port and all related connections from this node.<br></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>port</span> : <a href=\"#!/api/draw2d.Port\" rel=\"draw2d.Port\" class=\"docClass\">draw2d.Port</a><div class='sub-desc'><p>The port to remove.</p>\n</div></li></ul></div></div></div><div id='method-repaint' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.basic.Oval' rel='draw2d.shape.basic.Oval' class='defined-in docClass'>draw2d.shape.basic.Oval</a><br/><a href='source/Oval.html#draw2d-shape-basic-Oval-method-repaint' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.basic.Oval-method-repaint' class='name expandable'>repaint</a>( <span class='pre'>attributes</span> )<span class=\"signature\"><span class='template' >template</span></span></div><div class='description'><div class='short'>propagate all attributes like color, stroke,... ...</div><div class='long'><p>propagate all attributes like color, stroke,... to the shape element</p>\n      <div class='rounded-box template-box'>\n      <p>This is a <a href=\"#!/guide/components\">template method</a>.\n         a hook into the functionality of this class.\n         Feel free to override it in child classes.</p>\n      </div>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>attributes</span> : Object<div class='sub-desc'></div></li></ul><p>Overrides: <a href=\"#!/api/draw2d.VectorFigure-method-repaint\" rel=\"draw2d.VectorFigure-method-repaint\" class=\"docClass\">draw2d.VectorFigure.repaint</a></p></div></div></div><div id='method-resetChildren' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-resetChildren' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-resetChildren' class='name expandable'>resetChildren</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Remove all children/decorations of this shape ...</div><div class='long'><p>Remove all children/decorations of this shape</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-resetPorts' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-resetPorts' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-resetPorts' class='name expandable'>resetPorts</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.shape.node.Node\" rel=\"draw2d.shape.node.Node\" class=\"docClass\">draw2d.shape.node.Node</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Remove all ports of this node ...</div><div class='long'><p>Remove all ports of this node</p>\n        <p>Available since: <b>5.0.0</b></p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.shape.node.Node\" rel=\"draw2d.shape.node.Node\" class=\"docClass\">draw2d.shape.node.Node</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-select' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-select' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-select' class='name expandable'>select</a>( <span class='pre'>[isPrimarySelection]</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span><span class='private' >private</span></span></div><div class='description'><div class='short'>Add the figure to the current selection and propagate this to all edit policies. ...</div><div class='long'><p>Add the figure to the current selection and propagate this to all edit policies.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>isPrimarySelection</span> : boolean (optional)<div class='sub-desc'><p>true if the element should be the primary selection</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-setAlpha' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='draw2d.Corona'>draw2d.Corona</span><br/><a href='source/Port.html#draw2d-Corona-method-setAlpha' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Corona-method-setAlpha' class='name expandable'>setAlpha</a>( <span class='pre'>percent</span> ) : <a href=\"#!/api/draw2d.Corona\" rel=\"draw2d.Corona\" class=\"docClass\">draw2d.Corona</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>the the opacity of the element. ...</div><div class='long'><p>the the opacity of the element.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>percent</span> : Number<div class='sub-desc'>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Corona\" rel=\"draw2d.Corona\" class=\"docClass\">draw2d.Corona</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:deleteable</li><li>change:resizeable</li><li>change:selectable</li></ul><p>Overrides: <a href=\"#!/api/draw2d.Figure-method-setAlpha\" rel=\"draw2d.Figure-method-setAlpha\" class=\"docClass\">draw2d.Figure.setAlpha</a></p></div></div></div><div id='method-setBackgroundColor' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.VectorFigure' rel='draw2d.VectorFigure' class='defined-in docClass'>draw2d.VectorFigure</a><br/><a href='source/VectorFigure.html#draw2d-VectorFigure-method-setBackgroundColor' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.VectorFigure-method-setBackgroundColor' class='name expandable'>setBackgroundColor</a>( <span class='pre'>color</span> ) : <a href=\"#!/api/draw2d.VectorFigure\" rel=\"draw2d.VectorFigure\" class=\"docClass\">draw2d.VectorFigure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Set the new background color of the figure. ...</div><div class='long'><p>Set the new background color of the figure. It is possible to hands over\n<code>null</code> to set the background transparent.</p>\n\n<pre><code> // Alternatively you can use the attr method:\n figure.attr({\n   \"bgColor\": \"#f0f0f0\"\n });\n</code></pre>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>color</span> : String|<a href=\"#!/api/draw2d.util.Color\" rel=\"draw2d.util.Color\" class=\"docClass\">draw2d.util.Color</a><div class='sub-desc'><p>The new background color of the figure</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.VectorFigure\" rel=\"draw2d.VectorFigure\" class=\"docClass\">draw2d.VectorFigure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:bgColor</li></ul></div></div></div><div id='method-setBoundingBox' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-setBoundingBox' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-setBoundingBox' class='name expandable'>setBoundingBox</a>( <span class='pre'>rect</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Set the bounding box of the figure\n\n // Alternatively you can use the attr method:\n figure.attr({\n   width: w,\n   hei...</div><div class='long'><p>Set the bounding box of the figure</p>\n\n<pre><code> // Alternatively you can use the attr method:\n figure.attr({\n   width: w,\n   height: h,\n   x: x,\n   y: y\n });\n\n // or\n figure.attr({\n   boundingBox: {x:1, y:100, width:30, height:30}\n });\n</code></pre>\n        <p>Available since: <b>4.8.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>rect</span> : <a href=\"#!/api/draw2d.geo.Rectangle\" rel=\"draw2d.geo.Rectangle\" class=\"docClass\">draw2d.geo.Rectangle</a><div class='sub-desc'>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:dimension</li><li>change:x</li><li>change:y</li><li>move</li><li>resize</li></ul></div></div></div><div id='method-setCanSnapToHelper' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-setCanSnapToHelper' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-setCanSnapToHelper' class='name expandable'>setCanSnapToHelper</a>( <span class='pre'>flag</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Set the flag if this object can snap to grid or geometry. ...</div><div class='long'><p>Set the flag if this object can snap to grid or geometry.\nA window of dialog should set this flag to false.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>flag</span> : Boolean<div class='sub-desc'><p>The snap to grid/geometry enable flag.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-setCanvas' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-setCanvas' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-setCanvas' class='name expandable'>setCanvas</a>( <span class='pre'>canvas</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Set the canvas element of this figures. ...</div><div class='long'><p>Set the canvas element of this figures. This can be used to determine whenever an element\nis added or removed to the canvas.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>canvas</span> : <a href=\"#!/api/draw2d.Canvas\" rel=\"draw2d.Canvas\" class=\"docClass\">draw2d.Canvas</a><div class='sub-desc'><p>the new parent of the figure or null</p>\n\n</div></li></ul><p>Overrides: <a href=\"#!/api/draw2d.Figure-method-setCanvas\" rel=\"draw2d.Figure-method-setCanvas\" class=\"docClass\">draw2d.Figure.setCanvas</a></p></div></div></div><div id='method-setCenter' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.basic.Oval' rel='draw2d.shape.basic.Oval' class='defined-in docClass'>draw2d.shape.basic.Oval</a><br/><a href='source/Oval.html#draw2d-shape-basic-Oval-method-setCenter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.basic.Oval-method-setCenter' class='name expandable'>setCenter</a>( <span class='pre'>x, y</span> ) : <a href=\"#!/api/draw2d.shape.basic.Oval\" rel=\"draw2d.shape.basic.Oval\" class=\"docClass\">draw2d.shape.basic.Oval</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Set the center of the figure. ...</div><div class='long'><p>Set the center of the figure.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>x</span> : Number|<a href=\"#!/api/draw2d.geo.Point\" rel=\"draw2d.geo.Point\" class=\"docClass\">draw2d.geo.Point</a><div class='sub-desc'><p>the new x coordinate of the center or a <a href=\"#!/api/draw2d.geo.Point\" rel=\"draw2d.geo.Point\" class=\"docClass\">draw2d.geo.Point</a> object with the center</p>\n</div></li><li><span class='pre'>y</span> : Number<div class='sub-desc'><p>the y coordinate of the new center of the first argument isn't a <a href=\"#!/api/draw2d.geo.Point\" rel=\"draw2d.geo.Point\" class=\"docClass\">draw2d.geo.Point</a> object</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.shape.basic.Oval\" rel=\"draw2d.shape.basic.Oval\" class=\"docClass\">draw2d.shape.basic.Oval</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:center</li><li>change:x</li><li>change:y</li><li>move</li></ul></div></div></div><div id='method-setColor' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.VectorFigure' rel='draw2d.VectorFigure' class='defined-in docClass'>draw2d.VectorFigure</a><br/><a href='source/VectorFigure.html#draw2d-VectorFigure-method-setColor' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.VectorFigure-method-setColor' class='name expandable'>setColor</a>( <span class='pre'>color</span> ) : <a href=\"#!/api/draw2d.VectorFigure\" rel=\"draw2d.VectorFigure\" class=\"docClass\">draw2d.VectorFigure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Set the foreground color of the figure. ...</div><div class='long'><p>Set the foreground color of the figure.\nThis method fires a <i>document dirty</i> event.</p>\n\n<pre><code> // Alternatively you can use the attr method:\n figure.attr({\n   \"color\": \"#f3f3f3\"\n });\n</code></pre>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>color</span> : String|<a href=\"#!/api/draw2d.util.Color\" rel=\"draw2d.util.Color\" class=\"docClass\">draw2d.util.Color</a><div class='sub-desc'><p>The new color of the line.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.VectorFigure\" rel=\"draw2d.VectorFigure\" class=\"docClass\">draw2d.VectorFigure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change:color</li></ul></div></div></div><div id='method-setComposite' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-setComposite' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-setComposite' class='name expandable'>setComposite</a>( <span class='pre'>composite</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span><span class='private' >private</span></span></div><div class='description'><div class='short'>Set the assigned composite of this figure. ...</div><div class='long'><p>Set the assigned composite of this figure.</p>\n        <p>Available since: <b>4.8.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>composite</span> : <a href=\"#!/api/draw2d.shape.composite.StrongComposite\" rel=\"draw2d.shape.composite.StrongComposite\" class=\"docClass\">draw2d.shape.composite.StrongComposite</a><div class='sub-desc'><p>The assigned composite of this figure</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-setCssClass' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-setCssClass' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-setCssClass' class='name expandable'>setCssClass</a>( <span class='pre'>cssClass</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Set the css class of the node. ...</div><div class='long'><p>Set the css class of the node.</p>\n\n<pre><code> // Alternatively you can use the attr method:\n figure.attr({\n   \"cssClass\": \"red_border_figure\"\n });\n</code></pre>\n        <p>Available since: <b>2.9.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>cssClass</span> : String<div class='sub-desc'><p>the new css class name of the node</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:userData</li></ul></div></div></div><div id='method-setDeleteable' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-setDeleteable' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-setDeleteable' class='name expandable'>setDeleteable</a>( <span class='pre'>flag</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Set the flag if the shape is deleteable. ...</div><div class='long'><p>Set the flag if the shape is deleteable.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>flag</span> : boolean<div class='sub-desc'><p>enable or disable flag for the delete operation</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:deleteable</li></ul></div></div></div><div id='method-setDiameter' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.basic.Circle' rel='draw2d.shape.basic.Circle' class='defined-in docClass'>draw2d.shape.basic.Circle</a><br/><a href='source/Circle.html#draw2d-shape-basic-Circle-method-setDiameter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.basic.Circle-method-setDiameter' class='name expandable'>setDiameter</a>( <span class='pre'>d</span> ) : <a href=\"#!/api/draw2d.shape.basic.Circle\" rel=\"draw2d.shape.basic.Circle\" class=\"docClass\">draw2d.shape.basic.Circle</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Set the diameter of the circle. ...</div><div class='long'><p>Set the diameter of the circle. The center of the circle will be retained.</p>\n        <p>Available since: <b>4.0.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>d</span> : Number<div class='sub-desc'><p>The new diameter of the circle.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.shape.basic.Circle\" rel=\"draw2d.shape.basic.Circle\" class=\"docClass\">draw2d.shape.basic.Circle</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:center</li><li>change:diameter</li><li>change:x</li><li>change:y</li><li>move</li></ul></div></div></div><div id='method-setDimension' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-setDimension' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-setDimension' class='name expandable'>setDimension</a>( <span class='pre'>w, h</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Set the new width and height of the figure. ...</div><div class='long'><p>Set the new width and height of the figure.</p>\n\n<pre><code> // Alternatively you can use the attr method:\n figure.attr({\n    width:  w,\n    height: h\n });\n</code></pre>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>w</span> : Number<div class='sub-desc'><p>The new width of the figure</p>\n\n</div></li><li><span class='pre'>h</span> : Number<div class='sub-desc'><p>The new height of the figure</p>\n\n</div></li></ul><p>Overrides: <a href=\"#!/api/draw2d.Figure-method-setDimension\" rel=\"draw2d.Figure-method-setDimension\" class=\"docClass\">draw2d.Figure.setDimension</a></p></div></div></div><div id='method-setDraggable' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-setDraggable' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-setDraggable' class='name expandable'>setDraggable</a>( <span class='pre'>flag</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Switch on/off the drag drop behaviour of this object ...</div><div class='long'><p>Switch on/off the drag drop behaviour of this object</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>flag</span> : Boolean<div class='sub-desc'><p>The new drag drop indicator</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-setGlow' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.VectorFigure' rel='draw2d.VectorFigure' class='defined-in docClass'>draw2d.VectorFigure</a><br/><a href='source/VectorFigure.html#draw2d-VectorFigure-method-setGlow' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.VectorFigure-method-setGlow' class='name expandable'>setGlow</a>( <span class='pre'>flag</span> ) : <a href=\"#!/api/draw2d.VectorFigure\" rel=\"draw2d.VectorFigure\" class=\"docClass\">draw2d.VectorFigure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Highlight the element or remove the highlighting ...</div><div class='long'><p>Highlight the element or remove the highlighting</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>flag</span> : Boolean<div class='sub-desc'><p>indicates glow/noGlow</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.VectorFigure\" rel=\"draw2d.VectorFigure\" class=\"docClass\">draw2d.VectorFigure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change:stroke</li></ul><p>Overrides: <a href=\"#!/api/draw2d.Figure-method-setGlow\" rel=\"draw2d.Figure-method-setGlow\" class=\"docClass\">draw2d.Figure.setGlow</a></p></div></div></div><div id='method-setHeight' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-setHeight' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-setHeight' class='name expandable'>setHeight</a>( <span class='pre'>width</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Set the heigth of the figure and consider the minWidth attribute ...</div><div class='long'><p>Set the heigth of the figure and consider the minWidth attribute</p>\n        <p>Available since: <b>5.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>width</span> : Number<div class='sub-desc'><p>the new width of the figure</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:dimension</li><li>change:height</li><li>resize</li></ul></div></div></div><div id='method-setId' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-setId' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-setId' class='name expandable'>setId</a>( <span class='pre'>newId</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Set the id of this element. ...</div><div class='long'><p>Set the id of this element.</p>\n\n<pre><code>// Alternatively you can use the attr method:\nfigure.attr({\n  id: newId\n});\n</code></pre>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>newId</span> : String<div class='sub-desc'><p>the new id for this figure</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-setKeepAspectRatio' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-setKeepAspectRatio' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-setKeepAspectRatio' class='name expandable'>setKeepAspectRatio</a>( <span class='pre'>flag</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Guarantee, that the figure width/height will not be distorted. ...</div><div class='long'><p>Guarantee, that the figure width/height will not be distorted. Applicable before calling setDimension().\nIt is false by default.</p>\n        <p>Available since: <b>4.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>flag</span> : Boolean<div class='sub-desc'><p>boolean flag if the figure should respect the aspect ratio</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-setMinHeight' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-setMinHeight' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-setMinHeight' class='name expandable'>setMinHeight</a>( <span class='pre'>h</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Set the minimum heigth of the figure. ...</div><div class='long'><p>Set the minimum heigth of the figure.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>h</span> : Number<div class='sub-desc'>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:dimension</li><li>change:height</li><li>change:minHeight</li><li>resize</li></ul></div></div></div><div id='method-setMinWidth' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-setMinWidth' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-setMinWidth' class='name expandable'>setMinWidth</a>( <span class='pre'>w</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Set the minimum width of this figure ...</div><div class='long'><p>Set the minimum width of this figure</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>w</span> : Number<div class='sub-desc'>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:dimension</li><li>change:minWidth</li><li>change:width</li><li>resize</li></ul></div></div></div><div id='method-setParent' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-setParent' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-setParent' class='name expandable'>setParent</a>( <span class='pre'>parent</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span><span class='private' >private</span></span></div><div class='description'><div class='short'>Set the parent of this figure. ...</div><div class='long'><p>Set the parent of this figure.\nDon't call them manually.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>parent</span> : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><div class='sub-desc'><p>The new parent of this figure</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-setPersistPorts' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-setPersistPorts' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-setPersistPorts' class='name expandable'>setPersistPorts</a>( <span class='pre'>flag</span> ) : <a href=\"#!/api/draw2d.shape.node.Node\" rel=\"draw2d.shape.node.Node\" class=\"docClass\">draw2d.shape.node.Node</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Indicates if the node should read/write the ports via the draw2d.Figure.getPersistenAttributes\nto the JSON object ...</div><div class='long'><p>Indicates if the node should read/write the ports via the draw2d.Figure.getPersistenAttributes\nto the JSON object</p>\n        <p>Available since: <b>5.0.4</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>flag</span> : Boolean<div class='sub-desc'>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.shape.node.Node\" rel=\"draw2d.shape.node.Node\" class=\"docClass\">draw2d.shape.node.Node</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change:persistPorts</li></ul></div></div></div><div id='method-setPersistentAttributes' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.VectorFigure' rel='draw2d.VectorFigure' class='defined-in docClass'>draw2d.VectorFigure</a><br/><a href='source/VectorFigure.html#draw2d-VectorFigure-method-setPersistentAttributes' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.VectorFigure-method-setPersistentAttributes' class='name expandable'>setPersistentAttributes</a>( <span class='pre'>memento</span> ) : Object<span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Read all attributes from the serialized properties and transfer them into the shape. ...</div><div class='long'><p>Read all attributes from the serialized properties and transfer them into the shape.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>memento</span> : Object<div class='sub-desc'>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Object</span><div class='sub-desc'>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:bgColor</li><li>change:center</li><li>change:color</li><li>change:diameter</li><li>change:radius</li><li>change:stroke</li><li>change:x</li><li>change:y</li><li>move</li></ul><p>Overrides: <a href=\"#!/api/draw2d.shape.node.Node-method-setPersistentAttributes\" rel=\"draw2d.shape.node.Node-method-setPersistentAttributes\" class=\"docClass\">draw2d.shape.node.Node.setPersistentAttributes</a></p></div></div></div><div id='method-setPosition' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-setPosition' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-setPosition' class='name expandable'>setPosition</a>( <span class='pre'>x, [y]</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Set the position of the object. ...</div><div class='long'><p>Set the position of the object.</p>\n\n<pre><code> // Alternatively you can use the attr method:\n figure.attr({\n   x: x,\n   y: y\n });\n</code></pre>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>x</span> : Number/<a href=\"#!/api/draw2d.geo.Point\" rel=\"draw2d.geo.Point\" class=\"docClass\">draw2d.geo.Point</a><div class='sub-desc'><p>The new x coordinate of the figure or the x/y coordinate if it is an <a href=\"#!/api/draw2d.geo.Point\" rel=\"draw2d.geo.Point\" class=\"docClass\">draw2d.geo.Point</a></p>\n</div></li><li><span class='pre'>y</span> : Number (optional)<div class='sub-desc'><p>The new y coordinate of the figure</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:x</li><li>change:y</li><li>move</li></ul></div></div></div><div id='method-setRadius' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.basic.Circle' rel='draw2d.shape.basic.Circle' class='defined-in docClass'>draw2d.shape.basic.Circle</a><br/><a href='source/Circle.html#draw2d-shape-basic-Circle-method-setRadius' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.basic.Circle-method-setRadius' class='name expandable'>setRadius</a>( <span class='pre'>d</span> ) : <a href=\"#!/api/draw2d.shape.basic.Circle\" rel=\"draw2d.shape.basic.Circle\" class=\"docClass\">draw2d.shape.basic.Circle</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Set the radius of the circle. ...</div><div class='long'><p>Set the radius of the circle. The center of the circle will be retained.</p>\n        <p>Available since: <b>4.0.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>d</span> : Number<div class='sub-desc'><p>The new radius of the circle.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.shape.basic.Circle\" rel=\"draw2d.shape.basic.Circle\" class=\"docClass\">draw2d.shape.basic.Circle</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:center</li><li>change:diameter</li><li>change:radius</li><li>change:x</li><li>change:y</li><li>move</li></ul><p>Overrides: <a href=\"#!/api/draw2d.VectorFigure-method-setRadius\" rel=\"draw2d.VectorFigure-method-setRadius\" class=\"docClass\">draw2d.VectorFigure.setRadius</a></p></div></div></div><div id='method-setResizeable' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-setResizeable' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-setResizeable' class='name expandable'>setResizeable</a>( <span class='pre'>flag</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>You can change the resizeable behaviour of this object. ...</div><div class='long'><p>You can change the resizeable behaviour of this object. Hands over [false] and\nthe figure has no resizehandles if you select them with the mouse.<br></p>\n\n<pre><code> // Alternatively you can use the attr method:\n figure.attr({\n   resizeable: flag\n });\n</code></pre>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>flag</span> : boolean<div class='sub-desc'><p>The resizeable flag.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:resizeable</li></ul></div></div></div><div id='method-setRotationAngle' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-setRotationAngle' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-setRotationAngle' class='name expandable'>setRotationAngle</a>( <span class='pre'>angle</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Set the rotation angle in degree [0..356]\nOnly steps of 90 degree is working well\n\n     // Alternatively you can use ...</div><div class='long'><p>Set the rotation angle in degree [0..356]<br>\n<b>Only steps of 90 degree is working well</b>\n<br>\n     // Alternatively you can use the attr method:\n     figure.attr({\n       angle: angle\n     });</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>angle</span> : Number<div class='sub-desc'><p>the rotation angle in degree</p>\n\n</div></li></ul><p>Overrides: <a href=\"#!/api/draw2d.Figure-method-setRotationAngle\" rel=\"draw2d.Figure-method-setRotationAngle\" class=\"docClass\">draw2d.Figure.setRotationAngle</a></p></div></div></div><div id='method-setSelectable' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-setSelectable' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-setSelectable' class='name expandable'>setSelectable</a>( <span class='pre'>flag</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>You can change the selectable behavior of this object. ...</div><div class='long'><p>You can change the selectable behavior of this object. Hands over [false] and\nthe figure has no selection handles if you try to select them with the mouse.<br></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>flag</span> : boolean<div class='sub-desc'><p>The selectable flag.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:selectable</li></ul></div></div></div><div id='method-setSnapToGridAnchor' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-setSnapToGridAnchor' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-setSnapToGridAnchor' class='name expandable'>setSnapToGridAnchor</a>( <span class='pre'>point</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Set the hot spot for all snapTo### operations. ...</div><div class='long'><p>Set the hot spot for all snapTo### operations.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>point</span> : <a href=\"#!/api/draw2d.geo.Point\" rel=\"draw2d.geo.Point\" class=\"docClass\">draw2d.geo.Point</a><div class='sub-desc'>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-setStroke' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.VectorFigure' rel='draw2d.VectorFigure' class='defined-in docClass'>draw2d.VectorFigure</a><br/><a href='source/VectorFigure.html#draw2d-VectorFigure-method-setStroke' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.VectorFigure-method-setStroke' class='name expandable'>setStroke</a>( <span class='pre'>w</span> ) : <a href=\"#!/api/draw2d.VectorFigure\" rel=\"draw2d.VectorFigure\" class=\"docClass\">draw2d.VectorFigure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Set the stroke to use. ...</div><div class='long'><p>Set the stroke to use.</p>\n\n<pre><code> // Alternatively you can use the attr method:\n figure.attr({\n   \"stroke\": 2\n });\n</code></pre>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>w</span> : Number<div class='sub-desc'><p>The new line width of the figure</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.VectorFigure\" rel=\"draw2d.VectorFigure\" class=\"docClass\">draw2d.VectorFigure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change:stroke</li></ul></div></div></div><div id='method-setUserData' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-setUserData' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-setUserData' class='name expandable'>setUserData</a>( <span class='pre'>object</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Allows a user to attach (or remove) data to an element, without needing to create a custom figure or shape. ...</div><div class='long'><p>Allows a user to attach (or remove) data to an element, without needing to create a custom figure or shape.\nThe data must be a valid JSON object.</p>\n\n<pre><code> // Alternatively you can use the attr method:\n figure.attr({\n   userData: object\n });\n</code></pre>\n        <p>Available since: <b>2.7.2</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>object</span> : Object<div class='sub-desc'>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:userData</li></ul></div></div></div><div id='method-setVisible' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-setVisible' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-setVisible' class='name expandable'>setVisible</a>( <span class='pre'>flag</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>Show/hide the element. ...</div><div class='long'><p>Show/hide the element. The element didn't receive any mouse events (click, dblclick) if you hide the\nfigure.</p>\n\n<pre><code> // Alternatively you can use the attr method:\n figure.attr({\n   visible: flag\n });\n</code></pre>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>flag</span> : Boolean<div class='sub-desc'>\n</div></li></ul><p>Overrides: <a href=\"#!/api/draw2d.Figure-method-setVisible\" rel=\"draw2d.Figure-method-setVisible\" class=\"docClass\">draw2d.Figure.setVisible</a></p></div></div></div><div id='method-setWidth' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-setWidth' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-setWidth' class='name expandable'>setWidth</a>( <span class='pre'>width</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Set the width of the figure and consider the minWidth attribute ...</div><div class='long'><p>Set the width of the figure and consider the minWidth attribute</p>\n        <p>Available since: <b>5.1.0</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>width</span> : Number<div class='sub-desc'><p>the new width of the figure</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:dimension</li><li>change:width</li><li>resize</li></ul></div></div></div><div id='method-setX' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-setX' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-setX' class='name expandable'>setX</a>( <span class='pre'>x</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>the the x-offset related to the parent figure or canvas ...</div><div class='long'><p>the the x-offset related to the parent figure or canvas</p>\n        <p>Available since: <b>5.0.8</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>x</span> : Number<div class='sub-desc'><p>the new x offset of the figure</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:x</li><li>change:y</li><li>move</li></ul></div></div></div><div id='method-setY' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-setY' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-setY' class='name expandable'>setY</a>( <span class='pre'>x</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>the the y-offset related to the parent figure or canvas ...</div><div class='long'><p>the the y-offset related to the parent figure or canvas</p>\n        <p>Available since: <b>5.0.8</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>x</span> : Number<div class='sub-desc'><p>the new x offset of the figure</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:x</li><li>change:y</li><li>move</li></ul></div></div></div><div id='method-startTimer' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-startTimer' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-startTimer' class='name expandable'>startTimer</a>( <span class='pre'>milliSeconds</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Start a timer which calls the onTimer method in the given interval. ...</div><div class='long'><p>Start a timer which calls the onTimer method in the given interval.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>milliSeconds</span> : Number<div class='sub-desc'>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>timer</li></ul></div></div></div><div id='method-stopTimer' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-stopTimer' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-stopTimer' class='name expandable'>stopTimer</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Stop the internal timer. ...</div><div class='long'><p>Stop the internal timer.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div><div id='method-toBack' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-toBack' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-toBack' class='name expandable'>toBack</a>( <span class='pre'>figure</span> ) : <a href=\"#!/api/draw2d.shape.node.Node\" rel=\"draw2d.shape.node.Node\" class=\"docClass\">draw2d.shape.node.Node</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Moves the element to the background. ...</div><div class='long'><p>Moves the element to the background. Additional\nthe internal model changed as well.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>figure</span> : Object<div class='sub-desc'></div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.shape.node.Node\" rel=\"draw2d.shape.node.Node\" class=\"docClass\">draw2d.shape.node.Node</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><p>Overrides: <a href=\"#!/api/draw2d.Figure-method-toBack\" rel=\"draw2d.Figure-method-toBack\" class=\"docClass\">draw2d.Figure.toBack</a></p></div></div></div><div id='method-toFront' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.shape.node.Node' rel='draw2d.shape.node.Node' class='defined-in docClass'>draw2d.shape.node.Node</a><br/><a href='source/Node.html#draw2d-shape-node-Node-method-toFront' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.shape.node.Node-method-toFront' class='name expandable'>toFront</a>( <span class='pre'>[figure]</span> ) : <a href=\"#!/api/draw2d.shape.node.Node\" rel=\"draw2d.shape.node.Node\" class=\"docClass\">draw2d.shape.node.Node</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Moves the element so it is the closest to the viewer’s eyes, on top of other elements. ...</div><div class='long'><p>Moves the element so it is the closest to the viewer’s eyes, on top of other elements. Additional\nthe internal model changed as well.</p>\n\n<p>Optional: Inserts current object in front of the given one.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>figure</span> : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a> (optional)<div class='sub-desc'><p>move current object in front of the given one.</p>\n\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.shape.node.Node\" rel=\"draw2d.shape.node.Node\" class=\"docClass\">draw2d.shape.node.Node</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><p>Overrides: <a href=\"#!/api/draw2d.Figure-method-toFront\" rel=\"draw2d.Figure-method-toFront\" class=\"docClass\">draw2d.Figure.toFront</a></p></div></div></div><div id='method-toggleCssClass' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-toggleCssClass' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-toggleCssClass' class='name expandable'>toggleCssClass</a>( <span class='pre'>className</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Add or remove the given css class name from the figure ...</div><div class='long'><p>Add or remove the given css class name from the figure</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>className</span> : String<div class='sub-desc'><p>the class name to toggle</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:cssClass</li><li>change:userData</li></ul></div></div></div><div id='method-translate' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-translate' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-translate' class='name expandable'>translate</a>( <span class='pre'>dx, dy</span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span></span></div><div class='description'><div class='short'>Translate the figure with the given x/y offset. ...</div><div class='long'><p>Translate the figure with the given x/y offset.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>dx</span> : Number<div class='sub-desc'><p>The x offset to translate</p>\n</div></li><li><span class='pre'>dy</span> : Number<div class='sub-desc'><p>The y offset to translate</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul><h3 class='pa'>Fires</h3><ul><li>change</li><li>change:x</li><li>change:y</li><li>move</li></ul></div></div></div><div id='method-uninstallEditPolicy' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-uninstallEditPolicy' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-uninstallEditPolicy' class='name expandable'>uninstallEditPolicy</a>( <span class='pre'>policy</span> )<span class=\"signature\"></span></div><div class='description'><div class='short'>UnInstall the edit policy from the figure. ...</div><div class='long'><p>UnInstall the edit policy from the figure. Either the instance itself if found\nor all kind of the given edit policies.</p>\n        <p>Available since: <b>4.81</b></p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>policy</span> : <a href=\"#!/api/draw2d.policy.EditPolicy\" rel=\"draw2d.policy.EditPolicy\" class=\"docClass\">draw2d.policy.EditPolicy</a><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-unselect' class='member  inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/draw2d.Figure' rel='draw2d.Figure' class='defined-in docClass'>draw2d.Figure</a><br/><a href='source/Figure.html#draw2d-Figure-method-unselect' target='_blank' class='view-source'>view source</a></div><a href='#!/api/draw2d.Figure-method-unselect' class='name expandable'>unselect</a>( <span class='pre'></span> ) : <a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a><span class=\"signature\"><span class='chainable' >chainable</span><span class='private' >private</span></span></div><div class='description'><div class='short'>Unselect the figure and propagete this event to all edit policies. ...</div><div class='long'><p>Unselect the figure and propagete this event to all edit policies.</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/draw2d.Figure\" rel=\"draw2d.Figure\" class=\"docClass\">draw2d.Figure</a></span><div class='sub-desc'><p>this</p>\n</div></li></ul></div></div></div></div></div></div></div>","meta":{}});