[]
Creates a new path where all coordinates are scaled by the specified ratio.
public static PathEx Scale(this PathEx path, float xScale, float yScale)
Type | Name | Description |
---|---|---|
PathEx | path | The original path to be scaled. |
float | xScale | The value to scale by on the X axis. |
float | yScale | The value to scale by on the Y axis. |
Type | Description |
---|---|
PathEx | The scaled path. |