C# Class Imgix_Dotnet.Point

Represents a point in a coordinat system
Afficher le fichier Open project: estei/Imgix-Dotnet

Méthodes publiques

Méthode 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 méthode

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

SetX() public méthode

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
Résultat Point

SetY() public méthode

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
Résultat Point