Wiki
Clone wikiRogueSharp / RogueSharp / Rectangle / Contains_2
RectangleContains Method (Int32, Int32)
Determines whether this Rectangle contains a specified point represented by its x and y-coordinates
Namespace: RogueSharp
Assembly:
Syntax
public bool Contains( int x, int y )
Parameters
x
Type: SystemInt32
The x-coordinate of the specified point
y
Type: SystemInt32
The y-coordinate of the specified point
Return Value
Type: Boolean
True if the specified point is contained within this Rectangle; False otherwise
See Also
Reference
Rectangle Class
RogueSharp Namespace
[3]: 2014-2016 Faron Bracy
Updated