←Select platform

Contains Method

Summary

Indicates whether the rectangle contains the specified point.

Syntax

C#
VB
Java
C++
public bool Contains( 
   double x, 
   double y 
) 
Public Function Contains( _ 
   ByVal x As Double, _ 
   ByVal y As Double _ 
) As Boolean 
public boolean contains(double x, double y) 
public: 
bool Contains(  
   double x, 
   double y 
)  

Parameters

x
The x-coordinate of the point to check.

y
The y-coordinate of the point to check.

Return Value

true if the rectangle contains the specified point; otherwise, false.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly