TemplatePosition
Inheritance: java.lang.Object
public abstract class TemplatePosition
Provides a base abstract class for template positions.
Constructors
| Constructor | Description |
|---|---|
| TemplatePosition() |
Methods
| Method | Description |
|---|---|
| scale(double factor) | Creates a copy of the current position with all coordinates scaled by the given factor. |
TemplatePosition()
public TemplatePosition()
scale(double factor)
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.