(PShapeSVG parent, XML properties)
| 1708 | protected PFont font; |
| 1709 | |
| 1710 | public Text(PShapeSVG parent, XML properties) { |
| 1711 | super(parent, properties, true); |
| 1712 | |
| 1713 | // get location |
| 1714 | float x = Float.parseFloat(properties.getString("x")); |
| 1715 | float y = Float.parseFloat(properties.getString("y")); |
| 1716 | |
| 1717 | if (matrix == null) { |
| 1718 | matrix = new PMatrix2D(); |
| 1719 | } |
| 1720 | matrix.translate(x, y); |
| 1721 | |
| 1722 | family = GROUP; |
| 1723 | |
| 1724 | font = parseFont(properties); |
| 1725 | } |
| 1726 | } |
| 1727 | |
| 1728 |
nothing calls this directly
no test coverage detected