C# Class AGENT.Contrib.Drawing.Point

Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane.
Afficher le fichier Open project: nothingmn/AGENT.Contrib

Méthodes publiques

Méthode Description
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

Method Details

Clone() public méthode

public Clone ( ) : Object
Résultat Object

Equals() public méthode

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.
Résultat bool

Equals() public méthode

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.
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Offset() public méthode

Translates this System.Drawing.Point by the specified System.Drawing.Point
public Offset ( Point p ) : void
p Point
Résultat void

Offset() public méthode

Translates this Point by the specified amount
public Offset ( int dx, int dy ) : void
dx int
dy int
Résultat void

Point() public méthode

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.
Résultat System

Point() public méthode

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.
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string