Control.rectToClient

Overview | Methods | Fields | This Package | All Packages

Control.rectToClient

Converts the coordinates of a rectangle from screen coordinates to client coordinates.

Syntax

public Rectangle rectToClient( Rectangle r )

Parameters

r

The Rectangle object containing screen coordinates that you want to convert to client coordinates.

Return Value

Returns a Rectangle object containing the client coordinates that correspond to the screen coordinates contained in r.