C# Class PowerArgs.Cli.Rectangle

Show file Open project: adamabdelhamed/PowerArgs Class Usage Examples

Public Methods

Method Description
Contains ( Rectangle other ) : bool
Contains ( int x, int y ) : bool
IsAbove ( Rectangle other ) : bool
IsBelow ( Rectangle other ) : bool
IsLeftOf ( Rectangle other ) : bool
IsRightOf ( Rectangle other ) : bool
Rectangle ( Point location, Size size ) : System
Rectangle ( int x, int y, int w, int h ) : System

Method Details

Contains() public method

public Contains ( Rectangle other ) : bool
other Rectangle
return bool

Contains() public method

public Contains ( int x, int y ) : bool
x int
y int
return bool

IsAbove() public method

public IsAbove ( Rectangle other ) : bool
other Rectangle
return bool

IsBelow() public method

public IsBelow ( Rectangle other ) : bool
other Rectangle
return bool

IsLeftOf() public method

public IsLeftOf ( Rectangle other ) : bool
other Rectangle
return bool

IsRightOf() public method

public IsRightOf ( Rectangle other ) : bool
other Rectangle
return bool

Rectangle() public method

public Rectangle ( Point location, Size size ) : System
location Point
size Size
return System

Rectangle() public method

public Rectangle ( int x, int y, int w, int h ) : System
x int
y int
w int
h int
return System