Control.hasPoint

Virtual method to be implemented by the user. Returns whether the given point is inside this control. If not overridden, default behavior is checking if the point is within control's Rect. Note: If you want to check if a point is inside the control, you can use get_rect().has_point(point).

struct Control
@nogc nothrow
bool
hasPoint
(
in Vector2 point
)

Meta