Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Controls)

Velocity Property

Show in webframe
Final horizontal and vertical velocity of the drag, if the drag was inertial.
Syntax
get_velocity();
set_velocity(value);
Object.defineProperty('velocity');

Property Value

TypeDescription
LeadPointDThe final horizontal and vertical velocity of the drag, if the drag was inertial.
Remarks
C# Example
              time_delta = drag_completed_time_stamp - drag_started_time_stamp; // In Milliseconds
              veclocity.x = (Position.X - Origin.X) / time_delta;
              veclocity.y = (Position.Y - Origin.Y) / time_delta;
            
See Also

Reference

InteractiveDragCompletedEventArgs Object
InteractiveDragCompletedEventArgs Members

Error processing SSI file