C# 클래스 InheritanceWithConstructors.Rectangle

상속: Shape
파일 보기 프로젝트 열기: ProfessionalCSharp/ProfessionalCSharp6 1 사용 예제들

공개 메소드들

메소드 설명
Draw ( ) : void
Move ( Position newPosition ) : void
Rectangle ( ) : System.Console
Rectangle ( int width, int height, int x, int y ) : System.Console

메소드 상세

Draw() 공개 메소드

public Draw ( ) : void
리턴 void

Move() 공개 메소드

public Move ( Position newPosition ) : void
newPosition Position
리턴 void

Rectangle() 공개 메소드

public Rectangle ( ) : System.Console
리턴 System.Console

Rectangle() 공개 메소드

public Rectangle ( int width, int height, int x, int y ) : System.Console
width int
height int
x int
y int
리턴 System.Console