DhStyleBase.setClip

Overview | Methods | Fields | This Package | All Packages

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.