7.8 k 0 0 facebook twitter linkedIn google Plus expand Download Files: The Contains Method and Hit Test in GDI.zip This article has been excerpted from book Graphics Programming with GDI+.The Contains method is used to determining whether a rectangle or point is inside the current rectangle.