[orx-image-fit] Fix arguments order in README (#287)

This commit is contained in:
Abe Pazos
2023-01-23 20:34:46 +00:00
committed by GitHub
parent 04248bdfdc
commit 9f3ed6828b

View File

@@ -12,9 +12,9 @@ Similar to CSS object-fit (https://developer.mozilla.org/en-US/docs/Web/CSS/obje
drawer.imageFit(
img: ColorBuffer,
x: Double, y: Double, w: Double, h: Double,
fitMethod: FitMethod,
horizontalPosition: Double,
verticalPosition: Double)
verticalPosition: Double,
fitMethod: FitMethod)
```
or
@@ -23,9 +23,9 @@ or
drawer.imageFit(
img: ColorBuffer,
bounds: Rectangle,
fitMethod: FitMethod,
horizontalPosition: Double,
verticalPosition: Double)
verticalPosition: Double,
fitMethod: FitMethod)
```
- `img`: the image to draw