setClip() private method

private setClip ( com.codename1.ui.geom.Rectangle clip ) : void
clip com.codename1.ui.geom.Rectangle
return void
Exemplo n.º 1
0
 public void executeWithClip(WindowsGraphics underlying)
 {
     if (clip.getWidth() > 0 && clip.getHeight() > 0)
     {
         underlying.setClip(clip);
         execute(underlying);
         underlying.removeClip();
     }
 }