<b>Cursor.getClip</b>

Overview | Methods | Fields | This Package | All Packages

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.