Microsoft SDK for Java

DhStyleBase.setClip

Sets the clipping rectangle.

Syntax

public void setClip( Rectangle r )

public void setClip( String strClip )

Parameters

r

The clipping Rectangle object.

strClip

The clip string. This can be in the format of "rect( top, right, bottom, left )" where top, left, bottom or right can be either "auto" or a length measurement.

Remarks

Regions outside the clipping rectangle will not be drawn.

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