Examples 図形描写 circle.pxdx

<?xml version="1.0" encoding="utf-8"?>
<!-- 用紙サイズ「A4」用紙方向「縦」 -->
<pxd paper-type="a4" orientation="portrait" title="図形" xmlns:pxd="http://www.pxdoc.com/">
   <page>
      <!-- 値10の時1mmになるように設定 -->
      <svg x="0" y="0" width="29.7cm" height="21cm" viewBox="0 0 2970 2100">
         <!-- 太さ1mm、円中心位置横5cm、縦7cm、半径2cmの黒色の円を描く(塗りつぶし無し) -->
         <circle cx="500" cy="700" r="200" stroke="black" stroke-width="10" fill="none"/>
         <!-- 太さ1mm、円中心位置横10cm、縦7cm、半径2cmの緑色の円を描く(赤色で塗りつぶし)-->
         <circle cx="1000" cy="700" r="200" stroke="green" stroke-width="10" fill="red"/>
      </svg>
   </page>
</pxd>