LEADTOOLS Annotations (Leadtools.Annotations assembly)

Contains(Single,Single) Method

Show in webframe





The x-coordinate of the point to test.
The y-coordinate of the point to test.
Determines if the specified point is contained within this AnnRectangle structure.
Syntax
public bool Contains( 
   float x,
   float y
)
'Declaration
 
Public Overloads Function Contains( _
   ByVal x As Single, _
   ByVal y As Single _
) As Boolean
'Usage
 
Dim instance As AnnRectangle
Dim x As Single
Dim y As Single
Dim value As Boolean
 
value = instance.Contains(x, y)

            

            
public:
bool Contains( 
   float x,
   float y
) 

Parameters

x
The x-coordinate of the point to test.
y
The y-coordinate of the point to test.

Return Value

This method returns true if the point defined by x and y is contained within this AnnRectangle structure; otherwise false.
Remarks
The point is treated as if its in the same unit as the AnnRectangle.
Requirements

Target Platforms

See Also

Reference

AnnRectangle Structure
AnnRectangle Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.