DrawObject.HitTest Method | |
Determine if a given point lies within the bounding box of a DrawObject object.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD HitTest(
oPoint
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual HitTest(
Usual oPoint = default
)
Request Example
View SourceParameters
- oPoint (Optional)
- Type: Usual
The point to test for inclusion.
Return Value
Type:
Usual
TRUE if the point lies within the bounding box of the DrawObject object; otherwise, FALSE.
Remarks
This method should be provided by objects in classes subclassed from DrawObject, when behavior other than the default behavior is required.
When HitTest() is invoked, it does the following by default:
1RETURN(SELF:BoundingBox()):PtInRect(oPoint)
See Also