C# Class OurSonic.Utility.IntersectingRectangle

Show file Open project: OurSonic/OurSonicSharp

Private Properties

Property Type Description

Public Methods

Method Description
IntersectRect ( Rectangle r1, Rectangle r2 ) : bool
IntersectingRectangle ( int x, int y, int width, int height ) : System.Runtime.CompilerServices
Intersects ( Point p ) : bool
IntersectsRect ( Rectangle r, Point p ) : bool

Method Details

IntersectRect() public static method

public static IntersectRect ( Rectangle r1, Rectangle r2 ) : bool
r1 Rectangle
r2 Rectangle
return bool

IntersectingRectangle() public method

public IntersectingRectangle ( int x, int y, int width, int height ) : System.Runtime.CompilerServices
x int
y int
width int
height int
return System.Runtime.CompilerServices

Intersects() public method

public Intersects ( Point p ) : bool
p Point
return bool

IntersectsRect() public static method

public static IntersectsRect ( Rectangle r, Point p ) : bool
r Rectangle
p Point
return bool