System.Types.TPointF.Create

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

class function Create(const AX, AY: Single): TPointF; overload; static; inline;
class function Create(const APoint: TPoint): TPointF; overload; static; inline;

C++

TPointF() _ALWAYS_INLINE
TPointF(float _x, float _y) _ALWAYS_INLINE
TPointF(const POINT& pt) _ALWAYS_INLINE {

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function
constructor
public
System.Types.pas
SystemTypes.h
System.Types TPointF

Beschreibung

Erstellt und gibt ein TPointF-Objekt zurück.

Mit Create können Sie ein neues TPointF-Objekt erstellen und initialisieren.

  • AX und AY geben die horizontale bzw. vertikale Single-Gleitkommakoordinate des Punktes an.
  • APoint gibt die Punktkoordinaten anhand des TPointF-Typs an.

Siehe auch