Microsoft SDK for Java

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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.