PointHelper.FromCoordinates(Single, Single) PointHelper.FromCoordinates(Single, Single) PointHelper.FromCoordinates(Single, Single) PointHelper.FromCoordinates(Single, Single) Method

Definition

Creates a new Point value using x- and y-coordinate values in pixels. C# and Microsoft Visual Basic code should use the Point(Double,Double) constructor instead.

public : static Point FromCoordinates(float x, float y)
static Point FromCoordinates(Single x, Single y) const;
public static Point FromCoordinates(Single x, Single y)
Public Shared Function FromCoordinates(x As Single, y As Single) As Point

Parameters

x
Single Single

The pixel value to set for X.

y
Single Single

The pixel value to set for Y.

Returns

The created Point.