Source code
Revision control
Copy as Markdown
Other Tools
<!--
Any copyright is dedicated to the Public Domain.
-->
<title>Reference for objectBoundingBox with fePointLight</title>
<defs>
<filter id="light" primitiveUnits="userSpaceOnUse">
<feSpecularLighting lighting-color="blue" surfaceScale="5" specularConstant="10" specularExponent="6">
<fePointLight x="30" y="30" z="-5"/>
</feSpecularLighting>
<feComposite operator="in" in2="SourceGraphic"/>
</filter>
</defs>
<g transform="translate(20 20)">
<rect width="40" height="20" filter="url(#light)" fill="black" stroke="none"/>
</g>
</svg>