figmatk 0.0.14 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -6,10 +6,10 @@ description: >
|
|
|
6
6
|
clone or remove slides, or produce a .deck file for Figma Slides.
|
|
7
7
|
Powered by FigmaTK under the hood.
|
|
8
8
|
metadata:
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.16"
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
#
|
|
12
|
+
# Figma Slides Creator
|
|
13
13
|
|
|
14
14
|
## ⚠️ Never open .deck files directly
|
|
15
15
|
|
|
@@ -145,7 +145,7 @@ slide.addDiamond(x, y, width, height, opts)
|
|
|
145
145
|
slide.addTriangle(x, y, width, height, opts)
|
|
146
146
|
slide.addStar(x, y, width, height, opts)
|
|
147
147
|
slide.addLine(x1, y1, x2, y2, opts) // opts: color, weight
|
|
148
|
-
slide.addImage(
|
|
148
|
+
slide.addImage(x, y, width, height, pathOrBuf, opts) // opts: cornerRadius, opacity
|
|
149
149
|
slide.addTable(data, opts) // 2D string array; opts: x, y, width, colWidths, rowHeight
|
|
150
150
|
slide.addSVG(x, y, width, svgPathOrBuf, opts)
|
|
151
151
|
```
|