Revision control
Copy as Markdown
<?xml version="1.0" standalone="no"?>
<!-- ***********************************************************************
** Copyright (C) 2017 The Qt Company Ltd.
** SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
************************************************************************ -->
<svg width="8cm" height="8cm" viewBox="0 0 400 400"
<title>Sphere</title>
<desc>A gradient filled sphere.</desc>
<g>
<defs>
<radialGradient id="blueSphere" gradientUnits="userSpaceOnUse"
cx="200" cy="200" r="100" fx="150" fy="150">
<stop offset="0%" stop-color="white" />
<stop offset="75%" stop-color="blue" />
<stop offset="100%" stop-color="black" />
</radialGradient>
</defs>
<rect fill="lightblue" x="0" y="0" width="400" height="400" />
<circle fill="url(#blueSphere)" stroke="black" stroke-width="2"
cx="200" cy="200" r="100"/>
</g>
</svg>