System.Types.TPointF.Create

From RAD Studio API Documentation
Jump to: navigation, search

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 {

Properties

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

Description

Creates and returns a TPointF object.

Use Create to construct and initialize a new TPointF object:

  • AX and AY specify the horizontal and vertical floating-point Single coordinates of the point, respectively.
  • APoint specifies the point coordinates using the TPointF type.

See Also