←Select platform

Contains Method

Summary

Indicates whether the rectangle contains the specified point.

Syntax
C#
VB
C++
Java
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 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly