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