scale method
Leave feedback
On this page
Scales the template item by a given factor.
def scale(self, factor):
...
| Parameter | Type | Description |
|---|---|---|
| factor | float |
The scale factor. |
Returns: A new template item scaled by the given factor.
- class
TemplateItem
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.