MindFusion.Java Package Programmer's Guide
ItemLabel.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 DiagramItem whose label's text will be edited.

mousePosition

A java.awt.geom.Point2D instance specifying the current pointer position.

 Return Value

A java.awt.geom.Rectangle2D specifying where the edit box should be placed.

 See Also

ItemLabel Members
ItemLabel Class
com.mindfusion.diagramming Namespace