Card.svg 732 B

12345678910111213
  1. <g xmlns="http://www.w3.org/2000/svg" id="Slot-{this.pos}"
  2. transform="translate({this.x},{this.y})">
  3. <rect id="Card-{this.pos}" fill="#FFFFFF" x="0" y="0"
  4. width="40" height="60" rx="4" style="display: inline;"/>
  5. <text id="Value-{this.pos}" dx="20" x="0" y="26.4873125"
  6. font-family="Lucida Grande" font-size="24"
  7. font-weight="bold" letter-spacing="-2" text-anchor="middle"
  8. fill="{this.suit}">{this.value}</text>
  9. <circle id="Color-{this.pos}" fill="{this.suit}" cx="20" cy="43" r="7">
  10. <animate begin="0" fill="freeze" attributeName="r"
  11. values="4;5;6;7;8;6;5;4" dur="1s"
  12. calcMode="linear" repeatCount="indefinite"/></circle></g>