Leadtools.Annotations.Designersアセンブリ > Leadtools.Annotations.Designers名前空間 > AnnEditDesignerクラス :MoveThumbメソッド |
protected virtual void MoveThumb( int thumbIndex, LeadPointD offset )
'Declaration
Protected Overridable Sub MoveThumb( _ ByVal thumbIndex As Integer, _ ByVal offset As LeadPointD _ )
'Usage
Dim instance As AnnEditDesigner Dim thumbIndex As Integer Dim offset As LeadPointD instance.MoveThumb(thumbIndex, offset)
protected virtual void MoveThumb( int thumbIndex, LeadPointD offset )
- (void)moveThumbAtIndex:(NSUInteger)thumbIndex toOffset:(LeadPointD)point
protected void moveThumb( int thumbIndex, LeadPointD offset )
function Leadtools.Annotations.Designers.AnnEditDesigner.MoveThumb( thumbIndex , offset )
ユーザーがこのAnnEditDesignerの制御点オブジェクトの1つをクリックしてドラッグするとき、このメソッドは呼び出されます。派生クラスはこのメソッドをオーバーライドしなければならなくて、編集されているオブジェクトの座標を更新するために、必要な機能性を提供しなければなりません。デフォルトの実装は、空の関数です。
詳細情報とサンプルについては、「LEADTOOLSアノテーションによる道具ユーザー定義のObjects」を参照してください。