Piccolo.NET

PBoundsHandle.OnHandleDrag Method 

Overridden. Determines if this bounds handle or any of it's siblings need to be flipped.

public override void OnHandleDrag(
   object sender,
   SizeF size,
   PInputEventArgs e
);

Parameters

sender
The source of this handle drag event.
size
The drag delta relative to the handle.
e
A PInputEventArgs that contains the event data.

Remarks

While dragging the bounds handles, the node being resized may cross over itself and become reversed (if it is dragged through zero-width or zero-height). In this case, the locators for some of the bounds handles will have to be flipped to the opposite side.

See Also

PBoundsHandle Class | UMD.HCIL.PiccoloX.Handles Namespace