IDragAndDropObject Interface

Each drag and drop object have to implement this interface.

Definition

Namespace: PCBI.Automation.DragAndDrop
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public interface IDragAndDropObject

Properties

AllowAnchorPointsAndDockingLines Allow anchor points and docking lines e.g. horizontal helping lines.
AllowPointCorrectionCTRL Allow to correct point with CTRL key.
AllowPointCorrectionShift Allow to shift points to anchor points.
DragDropAllowMirrorX Allow change mirror X for this object.
DragDropAllowMirrorY Allow change mirror Y for this object.
DragDropAllowOffset Allow change offset for this object.
DragDropAllowRotation Allow change rotation for this object.
DragDropAllowScaling Allow change scaling for this object.

Methods

DragDropDraw Draw the drag and drop object, it is also possible to use default method instead of implementing your own dragin method.
DragDropEnd What to do at the end of drag and drop?
DragDropGetPolyClass All drag and drop objects need an poly class of there objects to draw and calculate distances.
DragDropMoveAllowed Allow the object to move to this position.
DragDropRotateAllowed Allow the object to rotate this angle.

See Also