Share via


Graphics.setClip

Class Overview | Class Members | This Package | All Packages

Syntax

public abstract void setClip( int x**, int** y**, int** width**, int** height )

Parameters
  • x
    the x coordinate of the new clip rectangle.
  • y
    the y coordinate of the new clip rectangle.
  • width
    the width of the new clip rectangle.
  • height
    the height of the new clip rectangle.
Description

Sets the current clip to the rectangle specified by the given coordinates. Rendering operations have no effect outside of the clipping area.

See Also

clipRect, setClip