DroidDiagram Programmer's Guide
InplaceEditable.getEditRect Method
See Also
 






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

Rectangle2D getEditRect (
    DiagramItem item,
    PointF mousePosition
)

 Parameters

item

The DiagramItem whose text will be edited or that contains the edited component.

mousePosition

A PointF instance specifying the current pointer position.

 Return Value

A RectF specifying where the edit box should be placed.

 See Also

InplaceEditable Members
InplaceEditable Interface
com.mindfusion.diagramming Namespace