ProgramLanguage/Script/JavaScript/JointJS
始点または終点の座標を移動するためのハンドルを隠します。
function( [cap = null] )
始点・終点の両方にハンドルを隠す場合はパラメータを指定しません。 他のメソッドのように"both"を指定すると例外が発生します。
var joint = Joint({x: 10, y: 10}, {x: 200, y: 10}); joint.showHandle(); function button_onclick() { joint.hideHandle("start"); }
var joint = Joint({x: 10, y: 10}, {x: 200, y: 10}); joint.showHandle(); function button_onclick() { joint.hideHandle("end"); }
var joint = Joint({x: 10, y: 10}, {x: 200, y: 10}); joint.showHandle(); function button_onclick() { joint.hideHandle(); }
Joint 0.2.0