SetSelection() public method

public SetSelection ( int tx, int ty, int width, int height ) : void
tx int
ty int
width int
height int
return void
 public void Release(ScreenDrawingSurface surface)
 {
     surface.SetSelection(
         Math.Min(tx1, tx2),
         Math.Min(ty1, ty2),
         Math.Abs(tx2 - tx1),
         Math.Abs(ty2 - ty1)
     );
 }
示例#2
0
 public void Release(ScreenDrawingSurface surface)
 {
     surface.SetSelection(
         Math.Min(tx1, tx2),
         Math.Min(ty1, ty2),
         Math.Abs(tx2 - tx1),
         Math.Abs(ty2 - ty1)
         );
 }