C# Class Imgix_Dotnet.Point

Represents a point in a coordinat system
Mostrar archivo Open project: estei/Imgix-Dotnet

Public Methods

Method Description
Point ( int x, int y )

Initializes a new point with an x and y position

SetX ( int x ) : Point

Creates a new point with the same Y position and the supplied X position

SetY ( int y ) : Point

Creates a new point with the same X position and the supplied y position

Method Details

Point() public method

Initializes a new point with an x and y position
public Point ( int x, int y )
x int
y int

SetX() public method

Creates a new point with the same Y position and the supplied X position
public SetX ( int x ) : Point
x int The X of the new point
return Point

SetY() public method

Creates a new point with the same X position and the supplied y position
public SetY ( int y ) : Point
y int The Y of the new point
return Point