←Select platform

Contains Method

Summary
Indicates whether the rectangle contains the specified point.
Syntax
C#
C++/CLI
Java
Python
public bool Contains( 
   double x, 
   double y 
) 
public boolean contains( 
   double doubleValue,  
   double doubleValue2 
); 
public: 
bool Contains(  
   double x, 
   double y 
)  
def Contains(self,x,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 22.0.2023.5.16
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.