C# 클래스 AGENT.Contrib.Drawing.Point

Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane.
파일 보기 프로젝트 열기: nothingmn/AGENT.Contrib

공개 메소드들

메소드 설명
Clone ( ) : Object
Equals ( Point other ) : bool

Specifies whether this System.Drawing.Point contains the same coordinates as the specified System.Drawing.Point

Equals ( object obj ) : bool

Specifies whether this System.Drawing.Point contains the same coordinates as the specified System.Object

GetHashCode ( ) : int
Offset ( Point p ) : void

Translates this System.Drawing.Point by the specified System.Drawing.Point

Offset ( int dx, int dy ) : void

Translates this Point by the specified amount

Point ( Size sz ) : System

Initializes a new instance of the System.Drawing.Point class from a System.Drawing.Size.

Point ( int x, int y ) : System

Initializes a new instance of the System.Drawing.Point class with the specified coordinates.

ToString ( ) : string

메소드 상세

Clone() 공개 메소드

public Clone ( ) : Object
리턴 Object

Equals() 공개 메소드

Specifies whether this System.Drawing.Point contains the same coordinates as the specified System.Drawing.Point
public Equals ( Point other ) : bool
other Point The other System.Drawing.Point to test.
리턴 bool

Equals() 공개 메소드

Specifies whether this System.Drawing.Point contains the same coordinates as the specified System.Object
public Equals ( object obj ) : bool
obj object The System.Object to test.
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

Offset() 공개 메소드

Translates this System.Drawing.Point by the specified System.Drawing.Point
public Offset ( Point p ) : void
p Point
리턴 void

Offset() 공개 메소드

Translates this Point by the specified amount
public Offset ( int dx, int dy ) : void
dx int
dy int
리턴 void

Point() 공개 메소드

Initializes a new instance of the System.Drawing.Point class from a System.Drawing.Size.
public Point ( Size sz ) : System
sz Size A System.Drawing.Size that specifies the coordinates for the new System.Drawing.Point.
리턴 System

Point() 공개 메소드

Initializes a new instance of the System.Drawing.Point class with the specified coordinates.
public Point ( int x, int y ) : System
x int The horizontal position of the point.
y int The vertical position of the point.
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string