DroidDiagram Programmer's Guide
DiagramItem.containsPoint Method (Point2D, float)
See Also
 






Determines whether this item contains the specified point.

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

 Syntax

Java  Copy Code

public abstract boolean containsPoint (
    PointF point,
    float threshold
)

 Parameters

point
PointF value specifying the logical coordinates of a diagram point.
threshold

Specifies the size of the area around the item outlines where the point is still considered inside the item.

 Return Value

true it this item contains the specified point; otherwise, false.

 Remarks

This method is used during hit-testing to determine if the pointer is inside an item.

 See Also

containsPoint Method Overload List
DiagramItem Members
DiagramItem Class
com.mindfusion.diagramming Namespace
hitTest Method