C# Class ZForge.Controls.XPTable.Win32.POINT

Afficher le fichier Open project: zhuangyy/Motion

Méthodes publiques

Свойство Type Description
x int
y int

Méthodes publiques

Méthode Description
FromPoint ( Point p ) : POINT

Creates a new POINT struct from the specified Point

POINT ( int x, int y ) : System

Creates a new RECT struct with the specified x and y coordinates

ToPoint ( ) : Point

Returns a Point with the same x and y coordinates as the POINT

Method Details

FromPoint() public static méthode

Creates a new POINT struct from the specified Point
public static FromPoint ( Point p ) : POINT
p Point The Point to create the POINT from
Résultat POINT

POINT() public méthode

Creates a new RECT struct with the specified x and y coordinates
public POINT ( int x, int y ) : System
x int The x-coordinate of the point
y int The y-coordinate of the point
Résultat System

ToPoint() public méthode

Returns a Point with the same x and y coordinates as the POINT
public ToPoint ( ) : Point
Résultat Point

Property Details

x public_oe property

Specifies the x-coordinate of the point
public int x
Résultat int

y public_oe property

Specifies the y-coordinate of the point
public int y
Résultat int