C# Class InheritanceWithConstructors.Rectangle

Inheritance: Shape
Afficher le fichier Open project: ProfessionalCSharp/ProfessionalCSharp6 Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public Draw ( ) : void
Résultat void

Move() public méthode

public Move ( Position newPosition ) : void
newPosition Position
Résultat void

Rectangle() public méthode

public Rectangle ( ) : System.Console
Résultat System.Console

Rectangle() public méthode

public Rectangle ( int width, int height, int x, int y ) : System.Console
width int
height int
x int
y int
Résultat System.Console