4 개의 섹션으로 나누고 싶은 타원 모양이 있습니다. 개별적으로이 섹션을 색칠 할 수 있습니까 아니면 4 가지 별도의 사용자 정의 모양을 만들어야합니까?SVG : 도형의 일부에 채우기 색 설정
(사진을 게시 하겠지만 담당자는 아직 없습니다.) 희망은 그게 무슨 뜻인지 분명히. 여기에 코드 http://jsfiddle.net/KQ3eH/
<html>
<head>
<style>
.anellipse {
fill:rgb(255,255,255);
stroke-width:2;
stroke:rgb(0,0,0);
}
.aline {
stroke:rgb(0,0,0);
stroke-width:2;
}
</style>
</head>
<body>
<svg xmlns="http://www.w3.org/2000/svg"
version="1.1"
width="960"
height="640">
<ellipse class="anellipse" cx="480" cy="320" rx="478" ry="318"/>
<line class="aline" x1="2" y1="320" x2="958" y2="320" stroke-linecap="round" stroke-dasharray="1, 4"/>
<line class="aline" x1="480" y1="2" x2="480" y2="638" stroke-linecap="round" stroke-dasharray="1, 4"/>
</svg>
</body>
</html>
현재 SVG의'xml'을 보여주십시오? – merlin2011