C# 클래스 ThoNohT.NohBoard.Extra.TPoint

파일 보기 프로젝트 열기: ThoNohT/NohBoard 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
TPoint ( double x, double y ) : System.Drawing

Initializes a new instance of the TPoint class.

TPoint ( float x, float y ) : System.Drawing

Initializes a new instance of the TPoint class.

TPoint ( int x, int y ) : System.Drawing

Initializes a new instance of the TPoint class.

ToString ( ) : string

Returns a string that represents the current object.

Translate ( Size size ) : TPoint

Translates this point.

Translate ( int dx, int dy ) : TPoint

Translates this point.

operator ( ) : TPoint

Adds size to point.

메소드 상세

TPoint() 공개 메소드

Initializes a new instance of the TPoint class.
public TPoint ( double x, double y ) : System.Drawing
x double See .
y double See .
리턴 System.Drawing

TPoint() 공개 메소드

Initializes a new instance of the TPoint class.
public TPoint ( float x, float y ) : System.Drawing
x float See .
y float See .
리턴 System.Drawing

TPoint() 공개 메소드

Initializes a new instance of the TPoint class.
public TPoint ( int x, int y ) : System.Drawing
x int See .
y int See .
리턴 System.Drawing

ToString() 공개 메소드

Returns a string that represents the current object.
public ToString ( ) : string
리턴 string

Translate() 공개 메소드

Translates this point.
public Translate ( Size size ) : TPoint
size System.Drawing.Size The distance to move the point.
리턴 TPoint

Translate() 공개 메소드

Translates this point.
public Translate ( int dx, int dy ) : TPoint
dx int The distance to move along the x axis.
dy int The distance to move along the y axis.
리턴 TPoint

operator() 공개 정적인 메소드

Adds size to point.
public static operator ( ) : TPoint
리턴 TPoint