mirror of
https://github.com/ulbwazhine/MockupEngineer.git
synced 2024-11-25 02:03:45 +03:00
Update readme.md
This commit is contained in:
parent
3488d7442a
commit
4629b2b2ee
|
@ -64,7 +64,7 @@ mockup.generate(template=mockup.templates[0],
|
||||||
>>> /path/to/mockup
|
>>> /path/to/mockup
|
||||||
```
|
```
|
||||||
|
|
||||||
##### `MockupEngineerInstance.generate` parameters:
|
#### `MockupEngineerInstance.generate` parameters:
|
||||||
* `template`: *Template* — Device template model, must be passed from *MockupEngineerInstance.templates* or *MockupEngineerInstance.get_templates()*.
|
* `template`: *Template* — Device template model, must be passed from *MockupEngineerInstance.templates* or *MockupEngineerInstance.get_templates()*.
|
||||||
* `screenshot_path`: *str* — Absolute path to the image in **JPG, PNG format**.
|
* `screenshot_path`: *str* — Absolute path to the image in **JPG, PNG format**.
|
||||||
* `color`: *Optional[str]* — Optional parameter, force device color. Must be passed according to *Template.colors[**n**].color*
|
* `color`: *Optional[str]* — Optional parameter, force device color. Must be passed according to *Template.colors[**n**].color*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user