eDriven Framework API
ContainsPoint Method (point, recursive)
Namespaces ► eDriven.Gui.Components ► DisplayObject ► ContainsPoint(Point, Boolean)
eDriven Framework API
Works with global coordinates (*RARE*)
Returns true if bounds of this display object (or it's children if recursive) contains point
This could be overriden and for instance checked against circle bounds, or by GlobalBounds but slightly expanded (for mobile) e.g. return GlobalBounds.Expand(20).Contains(point);
Declaration Syntax

C# | Visual Basic | Visual C++

    public virtual bool ContainsPoint(
    	Point point,
    	bool recursive
    )

    Public Overridable Function ContainsPoint ( _
    	point As Point, _
    	recursive As Boolean _
    ) As Boolean

    public:
    virtual bool ContainsPoint(
    	Point^ point,
    	bool recursive
    )

Parameters

point (Point)

recursive (Boolean)

Return Value

Assembly: eDriven.Gui (Module: eDriven.Gui) Version: 2.0.1.0 (2.0.1.0)