C# Class ZForge.Controls.ExplorerBar.POINT

Mostrar archivo Open project: zhuangyy/Motion

Public Properties

Property Type Description
x int
y int

Public Methods

Method 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 method

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

POINT() public method

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
return System

ToPoint() public method

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

Property Details

x public_oe property

Specifies the x-coordinate of the point
public int x
return int

y public_oe property

Specifies the y-coordinate of the point
public int y
return int