Sha256: ab54cd74292cbbb65c9a3fd3fa806e5eb1d515b0796c0416eb2a091951991714

Contents?: true

Size: 1.35 KB

Versions: 13

Compression:

Stored size: 1.35 KB

Contents

<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="800">
  <text x="10" y="50" style="stroke: red; stroke-width: 2; font-size: 50pt; fill: none; font-family: sans-serif;">
    Stroke only
  </text>

  <text x="10" y="100" style="stroke: black; stroke-width: 3; font-size: 50pt; fill: blue; font-family: sans-serif;">
    Stroke and fill
  </text>

  <text x="10" y="150" style="stroke: none; font-size: 50pt; fill: none; font-family: sans-serif;">
    No stroke or fill
  </text>

  <text x="10" y="200" style="stroke: none; stroke-width: 3; font-size: 50pt; fill: blue; font-family: sans-serif;">
    Fill only
  </text>

  <g style="stroke: black; stroke-width: 3; fill: green;">
    <text x="10" y="250" style="font-size: 50pt; font-family: sans-serif;">
      Inherited
    </text>
  </g>

  <text x="10" y="300" style="font-size: 50pt; font-family: sans-serif;">
    Mixed
    <tspan style="stroke: black; fill: none;">modes</tspan>
    in a text
  </text>

  <text x="10" y="350" style="font-size: 50pt; font-family: sans-serif; stroke: black; fill: none;">
    More mixed
    <tspan style="fill: black; stroke: none;">modes</tspan>
    in a text
  </text>

  <text x="10" y="400" style="font-size: 50pt; font-family: sans-serif; stroke: none; fill: none;">
    Even more
    <tspan style="fill: black; stroke: red;">mixed modes</tspan>
    in a text
  </text>
</svg>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
prawn-svg-0.36.0 spec/sample_svg/text_stroke.svg
prawn-svg-0.35.1 spec/sample_svg/text_stroke.svg
prawn-svg-0.35.0 spec/sample_svg/text_stroke.svg
prawn-svg-0.34.2 spec/sample_svg/text_stroke.svg
prawn-svg-0.34.1 spec/sample_svg/text_stroke.svg
prawn-svg-0.34.0 spec/sample_svg/text_stroke.svg
prawn-svg-0.33.0 spec/sample_svg/text_stroke.svg
prawn-svg-0.32.0 spec/sample_svg/text_stroke.svg
prawn-svg-0.31.0 spec/sample_svg/text_stroke.svg
prawn-svg-0.30.0 spec/sample_svg/text_stroke.svg
prawn-svg-0.29.1 spec/sample_svg/text_stroke.svg
prawn-svg-0.29.0 spec/sample_svg/text_stroke.svg
prawn-svg-0.28.0 spec/sample_svg/text_stroke.svg