System.Types.TPointF.Create

提供: RAD Studio API Documentation
移動先: 案内検索

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 {

プロパティ

種類 可視性 ソース ユニット
function
constructor
public
System.Types.pas
SystemTypes.h
System.Types TPointF


説明

TPointF オブジェクトを作成して返します。

Create を使用すると、新しい TPointF オブジェクトを構築および初期化することができます。

  • X および Y は、それぞれ点の、水平および垂直の浮動小数点 Single 座標を示しています。
  • APoint は、TPointF 型を使用した点座標を示します。

関連項目