|
GH_Attr_WidgetContains Method
|
Check if widget bounds contains given point. By default the CanvasBounds
of the widget will be consulted.
Namespace:
Karamba.GHopper.Utilities.UIWidgets
Assembly:
Karamba3D (in Karamba3D.dll) Version: 2.2.0.5 (2.2.0.5)
Syntaxpublic virtual bool Contains(
PointF pt
)
Public Overridable Function Contains (
pt As PointF
) As Boolean
public:
virtual bool Contains(
PointF pt
)
abstract Contains :
pt : PointF -> bool
override Contains :
pt : PointF -> bool
Parameters
- pt
- Type: System.DrawingPointF
The point to check.
Return Value
Type:
BooleanTrue if point is inside widget bound, false otherwise.
See Also