System.Types.TSmallPoint.Create
Delphi
constructor Create(P : TSmallPoint); overload;
constructor Create(const X, Y : Word); overload;
constructor Create(const X, Y : SmallInt); overload;
C++
static TSmallPoint Create(const short x, const short y) _ALWAYS_INLINE {
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
constructor function |
public | System.Types.pas SystemTypes.h |
System.Types | TSmallPoint |
説明
TSmallPoint オブジェクトを作成します。
Create を使用すると、新しい TSmallPoint オブジェクトを構築し、初期化することができます。ここでの各座標は 16 ビット整数値です。x は、点の水平座標を、y は垂直座標を示します。