Examples 文字関連 str18.pxdx

半透明の文字を描く
<?xml version="1.0" encoding="utf-8"?>
<!-- 用紙サイズ「A4」用紙方向「縦」 -->
<pxd paper-type="a4" orientation="portrait" title="文字">
<page>
   <!-- 値10の時1mmになるように設定 -->
   <svg x="0" y="0" width="21cm" height="29.7cm" viewBox="0 0 2100 2970">
      <text x="400" y="500" font-size="200" fill="green" fill-opacity="0.7" stroke="none">文字の例</text>
      <text x="410" y="500" font-size="200" fill="green" fill-opacity="0.7" stroke="none">文字の例</text>
      <text x="400" y="800" font-size="200" fill="red" fill-opacity="0.7" stroke="none">文字の例</text>
      <text x="450" y="850" font-size="200" fill="red" fill-opacity="0.7" stroke="none">文字の例</text>
   </svg>
</page>
</pxd>