C# Class InheritanceWithConstructors.Shape

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

Méthodes publiques

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

Shape() public méthode

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