←Select platform

Contains Method (LeadRectD)

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize