希望这几个函数能帮到你
//
// 摘要:
// Adds a callback for the attach event, that is, this callback is executed when
// a drawing object is attached to the window.
//
// 参数:
// f:
// Callback function with the signature defined by HDrawingObjectCallback
public void OnAttach(HDrawingObjectCallbackClass f);
//
// 摘要:
// Adds a callback for the attach event, that is, this callback is executed when
// a drawing object is attached to the window.
//
// 参数:
// f:
// Callback function with the signature defined by HDrawingObjectCallback
public void OnAttach(HDrawingObjectCallback f);
//
// 摘要:
// Adds a callback for the detach event, that is, this callback is executed when
// a drawing object is detached from the window.
//
// 参数:
// f:
// Callback function with the signature defined by HDrawingObjectCallback
public void OnDetach(HDrawingObjectCallback f);
//
// 摘要:
// Adds a callback for the detach event, that is, this callback is executed when
// a drawing object is detached from the window.
//
// 参数:
// f:
// Callback function with the signature defined by HDrawingObjectCallback
public void OnDetach(HDrawingObjectCallbackClass f);
//
// 摘要:
// Adds a callback for the resize event, that is, this callback is executed whenever
// the drawing object's position changes.
//
// 参数:
// f:
// Callback function with the signature defined by HDrawingObjectCallback
public void OnDrag(HDrawingObjectCallback f);
//
// 摘要:
// Adds a callback for the resize event, that is, this callback is executed whenever
// the drawing object's position changes.
//
// 参数:
// f:
// Callback function with the signature defined by HDrawingObjectCallback
public void OnDrag(HDrawingObjectCallbackClass f);
//
// 摘要:
// Adds a callback for the resize event, that is, this callback is executed whenever
// the user changes any of the dimensions of the draw object.
//
// 参数:
// f:
// Callback function with the signature defined by HDrawingObjectCallback
public void OnResize(HDrawingObjectCallbackClass f);
//
// 摘要:
// Adds a callback for the resize event, that is, this callback is executed whenever
// the user changes any of the dimensions of the draw object.
//
// 参数:
// f:
// Callback function with the signature defined by HDrawingObjectCallback
public void OnResize(HDrawingObjectCallback f);
//
// 摘要:
// Adds a callback for the resize event, that is, this callback is executed whenever
// the drawing object is selected.
//
// 参数:
// f:
// Callback function with the signature defined by HDrawingObjectCallback
public void OnSelect(HDrawingObjectCallback f);
//
// 摘要:
// Adds a callback for the resize event, that is, this callback is executed whenever
// the drawing object is selected.
//
// 参数:
// f:
// Callback function with the signature defined by HDrawingObjectCallback
public void OnSelect(HDrawingObjectCallbackClass f); |