Replaces the string by a number representing the string length
(text)
| 70 | |
| 71 | # Replaces the string by a number representing the string length |
| 72 | def process(text) |
| 73 | s = text.string.size * 10 |
| 74 | return [ RBA::Polygon::new(text.bbox.enlarged(s)) ] |
| 75 | end |
| 76 | |
| 77 | end |
| 78 |