Microsoft SDK for Java

Cursor.getClip

Retrieves the current cursor's clipping rectangle in screen coordinates.

Syntax

public final static Rectangle getClip()

Return Value

Returns a Rectangle object that specifies the cursor's clipping rectangle.

Remarks

If the cursor is not currently clipped, the resulting rectangle contains the dimensions of the entire screen.

A clipped cursor is allowed to move only within its clipping rectangle.

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