TemplatePosition
Leave feedback
On this page
Inheritance: java.lang.Object
public abstract class TemplatePosition
Provides a base abstract class for template positions.
| Constructor | Description |
|---|---|
| TemplatePosition() |
| Method | Description |
|---|---|
| scale(double factor) | Creates a copy of the current position with all coordinates scaled by the given factor. |
public TemplatePosition()
public abstract TemplatePosition scale(double factor)
Creates a copy of the current position with all coordinates scaled by the given factor.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| factor | double | The scaling factor. |
Returns: TemplatePosition - A new TemplatePosition with scaled coordinates.
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.