Microsoft SDK for Java

Control.rectToScreen

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

Syntax

public Rectangle rectToScreen( Rectangle r )

Parameters

r

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

Return Value

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

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