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






DiagramItem.containsPoint override. Checks whether this node contains the specified point. This method is called during hit-testing to determine if the touch is over the node.

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

 Syntax

Java  Copy Code

public boolean containsPoint (
    PointF point,
    float threshold
)

 Parameters

point

The point to check.

threshold

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

 Return Value

true it this node contains the specified point, or false otherwise.

 See Also

containsPoint Method Overload List
DiagramNode Members
DiagramNode Class
com.mindfusion.diagramming Namespace