DroidDiagram Programmer's Guide
LinkLabel.getEditRect Method
See Also
 






Implements InplaceEditable.getEditRect. Returns the rectangle where the in-place edit text box should appear (in document coordinates).

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public Rectangle2D getEditRect (
    DiagramItem item,
    Point2D mousePosition
)

 Parameters

item

The DiagramLink whose label's text will be edited.

mousePosition

A PointF instance specifying the current pointer position.

 Return Value

A RectF specifying where the edit box should be placed.

 See Also

LinkLabel Members
LinkLabel Class
com.mindfusion.diagramming Namespace