C# Класс AGENT.Contrib.Drawing.Point

Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane.
Показать файл Открыть проект

Открытые методы

Метод Описание
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