Číst v angličtině

Sdílet prostřednictvím


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);

Parameters

x
Single

The pixel value to set for X.

y
Single

The pixel value to set for Y.

Returns

The created Point.

Applies to