Skip to content

Instantly share code, notes, and snippets.

@popmedic
Last active March 4, 2021 17:08
Show Gist options
  • Save popmedic/a555f644f50b16b6dd3a04a28af6f293 to your computer and use it in GitHub Desktop.
Save popmedic/a555f644f50b16b6dd3a04a28af6f293 to your computer and use it in GitHub Desktop.
swift httprequesting coverage svg
Display the source blob
Display the rendered blob
Raw
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="128"
height="44">
<svg
width="128"
height="18"
x="0"
y="0">
<text
x="6"
y="14"
height="100%"
width="100%"
fill="#353535"
stroke="none"
style="
font-size: 10pt;
font-family: Menlo;
text-anchor: left;
"
>
Code Coverage
</text>
</svg>
<svg
width="128"
height="24"
x="0"
y="20">
<rect
x="0"
y="0"
height="100%"
width="100%"
stroke="lightgray"
fill="#8c1515"
rx="10px"
ry="10px"
style="
stroke-width: 1px;
"
/>
<mask
x="0"
y="0"
id="mask">
<rect
fill="white"
width="72.11%"
height="100%"
/>
</mask>
<rect
x="0"
y="0"
height="100%"
width="100%"
stroke="lightgray"
fill="#0a700a"
rx="10px"
ry="10px"
style="
stroke-width: 1px;
"
mask="url(#mask)"
/>
<text
x="50%"
y="18"
height="100%"
width="50%"
fill="white"
stroke="none"
style="
font-size: 11pt;
font-family: Menlo;
text-anchor: middle;
"
>
72.11%
</text>
</svg>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment