C# Class InheritanceWithConstructors.Shape

显示文件 Open project: ProfessionalCSharp/ProfessionalCSharp6 Class Usage Examples

Public Methods

Method Description
Draw ( ) : void
Move ( Position newPosition ) : void
Shape ( 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

Shape() public method

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