I'd like to draw a shape inside a table using purepdf as3 library. I haven't found any sample code on google. I think I should use a template to draw my rectangle and then add this to a cell.
var template:PdfTemplate = cb.createTemplate(30, 30);
template.setLineWidth(.5);
template.rectangle(0,0,17,17);
template.stroke();
cell.addElement(template);
Could someone give some suggestion?
You can find a lot of examples here Looks like you are looking for is exemplified here DrawingPaths