Class TLspPointTranslationHandle


public class TLspPointTranslationHandle extends ALsp3StepEditHandle
Base implementation of a handle that allows a point to be moved/dragged around.

This handle has two translate modes: either by dragging the mouse, or by moving it in between two clicks. See setTranslateOnDrag. When true, the handle is activated/deactivated using mouse press and release events and changed using mouse dragged events. Otherwise, the handle is activated/deactivated using mouse clicks and changed by moving the mouse when active.

When using touch events, this handle is activated on DOWN events, processes MOVED events, and is deactivated on UP events.

This handle produces move operations objects where the result is set to the model coordinates of the position where the handle was dragged.

This handle can be used for all kinds of purposes, like moving the point of a point list, moving a control point of an arc, or changing the height of an extruded shape.

Since:
2012.0