PptxGenJS icon indicating copy to clipboard operation
PptxGenJS copied to clipboard

Is this a misspelling

Open wisetwo opened this issue 5 years ago • 2 comments

https://github.com/gitbrent/PptxGenJS/blob/88a49d3a24f5fb383e0738cabe86499c3643cf37/types/index.d.ts#L472

Is it supposed to be like this?

FOLDED_CORNER = 'foldedCorner'

There's an 'folderCorner' = 'folderCorner' in this file already.

wisetwo avatar Jan 06 '21 11:01 wisetwo

Test case:

slide.addShape(pptx.shapes.FOLDED_CORNER,{ x:0.6, y:4.65, w:3, h:2, fill:{color:'F1F1F1'} });

gitbrent avatar Jan 09 '21 18:01 gitbrent

Test case:

slide.addShape(pptx.shapes.FOLDED_CORNER,{ x:0.6, y:4.65, w:3, h:2, fill:{color:'F1F1F1'} });

foldedCorner is supposed to be like this: image

folderCorner is a different shage.

wisetwo avatar Jan 15 '21 06:01 wisetwo