0

我如何在 pdf 中使用以下元素来创建 cricle、矩形或任何其他形状

 'tableCellPadding'
 'cellBorder',
 'headerCellBorder',
 'oddRowCellBorder',
 'evenRowCellBorder',
 'tableBorder'
4

1 回答 1

0
$('#cmd').click(function () {
                  var docDefinition = { 

        pageMargins: [0, 0, 0, 0],
        content: [
                 canvas: [
                {
                    style: 'rectangleData',
                    type: 'rect',
                    x: 198,
                    y: -186,
                    w: 198,
                    h: 188,
                    r: 8,
                    lineWidth: 4,
                    lineColor: '#276fb8',

                },

                 ]
             }
           ]
       }
于 2016-08-29T10:55:37.063 回答