public class DrawFreeFormsBehavior extends DrawNodesBehavior
Behavior.DrawFreeForms behavior.currentCursor, diagramView| Constructor and Description |
|---|
DrawFreeFormsBehavior(DiagramView diagramView,
boolean convertToShape)
Initializes a new instance of the DrawFreeFormsBehavior class.
|
| Modifier and Type | Method and Description |
|---|---|
protected DiagramNode |
createNode() |
setMouseCursor, startDrawcreateLink, getDiagram, getDiagramView, pointerDown, pointerMove, pointerOver, pointerUp, setModfCursor, startDrawCommoncancelDragpublic DrawFreeFormsBehavior(DiagramView diagramView, boolean convertToShape)
diagramView - A DiagramView instance.convertToShape - true to convert the FreeFormNode to a ShapeNode once user finishes drawing it, or false otherwise.protected DiagramNode createNode()
createNode in class DrawNodesBehavior