System.Types.TPointF.Create

De RAD Studio API Documentation
Aller à : navigation, rechercher

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 {

Propriétés

Type Visibilité  Source Unité  Parent
function
constructor
public
System.Types.pas
SystemTypes.h
System.Types TPointF

Description

Crée et renvoie un objet TPointF.

Utilisez Create pour construire et initialiser un nouvel objet TPointF :

  • AX et AY spécifient respectivement les coordonnées Single en virgule flottante horizontale et verticale du point.
  • APoint spécifie les coordonnées du point en utilisant le type TPointF.

Voir aussi