PointHelper.FromCoordinates(Single, Single) Methode

Definition

Erstellt einen neuen Punktwert mit x- und y-Koordinatenwerten in Pixeln. C#- und Microsoft Visual Basic-Code sollten stattdessen den Point(Double,Double)- Konstruktor verwenden.

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

Parameter

x
Single

float

Der für X festzulegende Pixelwert.

y
Single

float

Der für Y festzulegende Pixelwert.

Gibt zurück

Der erstellte Punkt.

Gilt für: