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.
ドアを三角形として表現できるようにしたいのですが、下の画像のように小さい側が湾曲しています。
SVG / Raphaelでこれを行うにはどうすればよいですか? 三角形の作り方は分かったのですが、曲がった部分をどうしたらいいのかわかりません。
他の Raphael パスと同様にパスを作成し (パスについてはRaphael のドキュメントを参照)、その定義に楕円弧 (A) を含めます。
例を含む JSFiddle を次に示します: http://jsfiddle.net/XzPzE/362/