SVG에 빨간 그림자가있는 간단한 사각형을 쓰고 싶습니다.SVG : 그림자의 색
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="1012" height="400">
<title>svg arrow with dropshadow</title>
<desc>An svg example of an arrow shape with a dropshadow filter applied. The dropshadow filter effect uses feGaussianBlur, feOffset and feMerge.</desc>
<defs>
<filter id="dropshadow" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feComponentTransfer in="SourceAlpha">
<feFuncR type="discrete" tableValues="1"/>
<feFuncG type="discrete" tableValues="0"/>
<feFuncB type="discrete" tableValues="0"/>
</feComponentTransfer>
<feGaussianBlur stdDeviation="2"/>
<feOffset dx="0" dy="0" result="shadow"/>
<feComposite in="SourceGraphic" in2="shadow" operator="over"/>
</filter>
</defs>
<rect rx="2" ry="2" fill="rgb(255,255,255)" x="5.25" y="5.25" width="141" height="50" fill-opacity="0.85" filter="url(#dropshadow)">
</svg>
왜이 예 그림자 색상으로 빨간색되지 않습니다 : 나는 간단한 필터가? 내 나쁜 짓은 어디 있니?
http://dev.opera.com/articles/view/svg-evolution-3-applying-polish/ ? page = 2 프리미티브 필터 이미지를 실제 이미지와 오버레이하여 촬영할 수 있습니다. 나는 그런 식으로 사용했다. – Kris