C# 클래스 Exercise7_4.Square

파일 보기 프로젝트 열기: Softwire/Learning-C-sharp 1 사용 예제들

공개 메소드들

메소드 설명
Display ( ) : void
Square ( Point topLeft, int length ) : System

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

메소드 상세

Display() 공개 메소드

public Display ( ) : void
리턴 void

Square() 공개 메소드

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
리턴 System