Vcl.Outline.TCustomOutline.GetItem
Delphi
function GetItem(X, Y: Integer): LongInt;
C++
System::LongInt __fastcall GetItem(int X, int Y);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | Vcl.Outline.pas Vcl.Outline.hpp |
Vcl.Outline | TCustomOutline |
説明
X パラメータと Y パラメータで示される位置のノードのインデックスを返します。
GetItem メソッドを呼び出すと,ピクセル単位で指定された画面座標に位置するノードを特定できます。GetItem は Items プロパティ配列へのインデックスを返します。