C# Класс ThoNohT.NohBoard.Extra.TPoint

Показать файл Открыть проект Примеры использования класса

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