MohoView:PickEdge(where, curveID, segID, pickWidth)

Version added: before 9.5

Picks an edge near the given pixel location

ArgumentTypeDescriptionDefaultVersion added
whereLM_PointPixel location on the screenbefore 9.5
curveIDint32Id of an M_Curve object in the current vector layer, returned by this functionbefore 9.5
segIDint32Which segment on the curve was picked, returned by this functionbefore 9.5
pickWidthint323before 9.5

Return type (int32, int32): curveID, segID

Picks an edge near the given pixel location.