přidání šrafování
All checks were successful
Build and Deploy / build-and-push (push) Successful in 29s

This commit is contained in:
2026-04-30 14:28:16 +02:00
parent fbfe5d8be1
commit 3470b18388

View File

@@ -29,13 +29,22 @@
<body>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 200">
<circle cx="150" cy="100" r="50" stroke="white" stroke-width="2" fill="none" />
<defs>
<!-- Definice šrafovacího vzoru: šikmé čáry v rozestupu 10 px -->
<pattern id="hatchPattern" width="10" height="10"
patternUnits="userSpaceOnUse" patternTransform="rotate(45)">
<line x1="0" y1="0" x2="0" y2="10"
stroke="white" stroke-width="1"/>
</pattern>
</defs>
<circle cx="150" cy="100" r="50" stroke="white" stroke-width="2" fill="url(#hatchPattern)" />
<line x1="150" y1="100" x2="200" y2="100" stroke="#FF204E" stroke-width="1.5" />
<line x1="200" y1="95" x2="200" y2="105" stroke="white" stroke-width="1" />
<line x1="150" y1="95" x2="150" y2="105" stroke="white" stroke-width="1" />
<line x1="145" y1="100" x2="155" y2="100" stroke="white" stroke-width="1" />
<line x1="150" y1="100" x2="200" y2="100" stroke="#FF204E" stroke-width="1.5" />
<text x="175" y="90" font-size="12" fill="#FF204E">x</text>
<text x="170" y="95" font-size="16" fill="#FF204E">x</text>
<text x="75" y="180" font-size="18" fill="white">A = π ⋅ x²</text>
</svg>