C# 클래스 System.Drawing.Point

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

공개 프로퍼티들

프로퍼티 타입 설명
Empty Point
Empty System.Drawing.Point

공개 메소드들

메소드 설명
Add ( Point pt, Size sz ) : Point

Translates a by a given .

Add ( System pt, System sz ) : System.Drawing.Point
Ceiling ( PointF value ) : Point

Converts a PointF to a Point by performing a ceiling operation on all the coordinates.

Ceiling ( System value ) : System.Drawing.Point
Equals ( object obj ) : bool

Specifies whether this contains the same coordinates as the specified .

GetHashCode ( ) : int

Returns a hash code.

Offset ( Point p ) : void

Translates this by the specified amount.

Offset ( System p ) : void
Offset ( int dx, int dy ) : void

Translates this by the specified amount.

Point ( System sz )
Point ( int dw )
Point ( int x, int y )
Point ( Size sz ) : System.Numerics.Hashing

Initializes a new instance of the class from a .

Point ( int dw ) : System.Numerics.Hashing

Initializes a new instance of the Point class using coordinates specified by an integer value.

Point ( int x, int y ) : System.Numerics.Hashing

Initializes a new instance of the class with the specified coordinates.

Round ( PointF value ) : Point

Converts a PointF to a Point by performing a round operation on all the coordinates.

Round ( System value ) : System.Drawing.Point
Subtract ( Point pt, Size sz ) : Point

Translates a by the negative of a given .

Subtract ( System pt, System sz ) : System.Drawing.Point
ToString ( ) : string

Converts this to a human readable string.

Truncate ( PointF value ) : Point

Converts a PointF to a Point by performing a truncate operation on all the coordinates.

Truncate ( System value ) : System.Drawing.Point
operator ( ) : Point

Translates a by a given .

operator ( ) : System.Drawing.Point
operator ( ) : bool

Compares two objects. The result specifies whether the values of the and properties of the two objects are equal.

비공개 메소드들

메소드 설명
HighInt16 ( int n ) : short
LowInt16 ( int n ) : short

메소드 상세

Add() 공개 정적인 메소드

Translates a by a given .

public static Add ( Point pt, Size sz ) : Point
pt Point
sz Size
리턴 Point

Add() 공개 정적인 메소드

public static Add ( System pt, System sz ) : System.Drawing.Point
pt System
sz System
리턴 System.Drawing.Point

Ceiling() 공개 정적인 메소드

Converts a PointF to a Point by performing a ceiling operation on all the coordinates.
public static Ceiling ( PointF value ) : Point
value PointF
리턴 Point

Ceiling() 공개 정적인 메소드

public static Ceiling ( System value ) : System.Drawing.Point
value System
리턴 System.Drawing.Point

Equals() 공개 메소드

Specifies whether this contains the same coordinates as the specified .

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

Returns a hash code.

public GetHashCode ( ) : int
리턴 int

Offset() 공개 메소드

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

Offset() 공개 메소드

public Offset ( System p ) : void
p System
리턴 void

Offset() 공개 메소드

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

Point() 공개 메소드

public Point ( System sz )
sz System

Point() 공개 메소드

public Point ( int dw )
dw int

Point() 공개 메소드

public Point ( int x, int y )
x int
y int

Point() 공개 메소드

Initializes a new instance of the class from a .

public Point ( Size sz ) : System.Numerics.Hashing
sz Size
리턴 System.Numerics.Hashing

Point() 공개 메소드

Initializes a new instance of the Point class using coordinates specified by an integer value.
public Point ( int dw ) : System.Numerics.Hashing
dw int
리턴 System.Numerics.Hashing

Point() 공개 메소드

Initializes a new instance of the class with the specified coordinates.
public Point ( int x, int y ) : System.Numerics.Hashing
x int
y int
리턴 System.Numerics.Hashing

Round() 공개 정적인 메소드

Converts a PointF to a Point by performing a round operation on all the coordinates.
public static Round ( PointF value ) : Point
value PointF
리턴 Point

Round() 공개 정적인 메소드

public static Round ( System value ) : System.Drawing.Point
value System
리턴 System.Drawing.Point

Subtract() 공개 정적인 메소드

Translates a by the negative of a given .

public static Subtract ( Point pt, Size sz ) : Point
pt Point
sz Size
리턴 Point

Subtract() 공개 정적인 메소드

public static Subtract ( System pt, System sz ) : System.Drawing.Point
pt System
sz System
리턴 System.Drawing.Point

ToString() 공개 메소드

Converts this to a human readable string.

public ToString ( ) : string
리턴 string

Truncate() 공개 정적인 메소드

Converts a PointF to a Point by performing a truncate operation on all the coordinates.
public static Truncate ( PointF value ) : Point
value PointF
리턴 Point

Truncate() 공개 정적인 메소드

public static Truncate ( System value ) : System.Drawing.Point
value System
리턴 System.Drawing.Point

operator() 공개 정적인 메소드

Translates a by a given .

public static operator ( ) : Point
리턴 Point

operator() 공개 정적인 메소드

public static operator ( ) : System.Drawing.Point
리턴 System.Drawing.Point

operator() 공개 정적인 메소드

Compares two objects. The result specifies whether the values of the and properties of the two objects are equal.

public static operator ( ) : bool
리턴 bool

프로퍼티 상세

Empty 공개적으로 정적으로 프로퍼티

Creates a new instance of the class with member data left uninitialized.
public static Point,System.Drawing Empty
리턴 Point

Empty 공개적으로 정적으로 프로퍼티

public static System.Drawing.Point Empty
리턴 System.Drawing.Point