Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
スクロール可能な大きな画像があり、キャンバスを使用して複数の線を描いています。ユーザーがクリックした特定の行の開始座標と終了座標 (x,y) を取得したいと考えています。どうやってやるの?
描画する座標を保存し、線との衝突も検出する必要があります。