We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 43ce2f6 + d06d62e commit f219645Copy full SHA for f219645
docs/project-data-api/AREAS_API.md
@@ -5,6 +5,7 @@
5
- [Get recommended character count](#get-recommended-character-count)
6
* [Setters](#setters)
7
- [Set text](#set-text)
8
+ - [Set text scale](#set-text-scale)
9
- [Set image](#set-image)
10
- [Set video](#set-video)
11
@@ -48,6 +49,16 @@ Renderforest.getProjectData(15220886)
48
49
})
50
```
51
52
+#### Set text scale
53
+
54
+It's possible to set text scale by percentage. The value must be between 80 and 120.
55
+```js
56
+projectDataInstance.getScreen(0)
57
+ .getArea(0)
58
+ .setText('sample-text')
59
+ .setTextScale(120)
60
+```
61
62
### Set image
63
64
If area is `image`, then sets given image params, otherwise throws error.
0 commit comments