C# Class Exercise7_4.Square

Mostrar archivo Open project: Softwire/Learning-C-sharp Class Usage Examples

Public Methods

Method Description
Display ( ) : void
Square ( Point topLeft, int length ) : System

Initialises a square of given side length, located by fixing the top-left corner.

Method Details

Display() public method

public Display ( ) : void
return void

Square() public method

Initialises a square of given side length, located by fixing the top-left corner.
public Square ( Point topLeft, int length ) : System
topLeft Point Co-ordinates of the top-left point, (assuming (0,0) in this coordinate system lies in the top left of the graph.)
length int Side Length
return System