[orx-image-fit] Fix arguments order in README (#287)
This commit is contained in:
@@ -12,9 +12,9 @@ Similar to CSS object-fit (https://developer.mozilla.org/en-US/docs/Web/CSS/obje
|
|||||||
drawer.imageFit(
|
drawer.imageFit(
|
||||||
img: ColorBuffer,
|
img: ColorBuffer,
|
||||||
x: Double, y: Double, w: Double, h: Double,
|
x: Double, y: Double, w: Double, h: Double,
|
||||||
fitMethod: FitMethod,
|
|
||||||
horizontalPosition: Double,
|
horizontalPosition: Double,
|
||||||
verticalPosition: Double)
|
verticalPosition: Double,
|
||||||
|
fitMethod: FitMethod)
|
||||||
```
|
```
|
||||||
|
|
||||||
or
|
or
|
||||||
@@ -23,9 +23,9 @@ or
|
|||||||
drawer.imageFit(
|
drawer.imageFit(
|
||||||
img: ColorBuffer,
|
img: ColorBuffer,
|
||||||
bounds: Rectangle,
|
bounds: Rectangle,
|
||||||
fitMethod: FitMethod,
|
|
||||||
horizontalPosition: Double,
|
horizontalPosition: Double,
|
||||||
verticalPosition: Double)
|
verticalPosition: Double,
|
||||||
|
fitMethod: FitMethod)
|
||||||
```
|
```
|
||||||
|
|
||||||
- `img`: the image to draw
|
- `img`: the image to draw
|
||||||
|
|||||||
Reference in New Issue
Block a user