C# Class InheritanceWithConstructors.Rectangle

Inheritance: Shape
Mostra file Open project: ProfessionalCSharp/ProfessionalCSharp6 Class Usage Examples

Public Methods

Method Description
Draw ( ) : void
Move ( Position newPosition ) : void
Rectangle ( ) : System.Console
Rectangle ( int width, int height, int x, int y ) : System.Console

Method Details

Draw() public method

public Draw ( ) : void
return void

Move() public method

public Move ( Position newPosition ) : void
newPosition Position
return void

Rectangle() public method

public Rectangle ( ) : System.Console
return System.Console

Rectangle() public method

public Rectangle ( int width, int height, int x, int y ) : System.Console
width int
height int
x int
y int
return System.Console