diff --git a/README.md b/README.md
index 31a7a1e..e923ca2 100644
--- a/README.md
+++ b/README.md
@@ -322,7 +322,7 @@ setLength(float $length) | The length, in seconds, the Clip should play for. | Y
setFit(string $fit) | Set how the asset should be scaled to fit the viewport using one of the following options [default to `crop`]:
- `cover` - stretch the asset to fill the viewport without maintaining the aspect ratio.
- `contain` - fit the entire asset within the viewport while maintaining the original aspect ratio.
- `crop` - scale the asset to fill the viewport while maintaining the aspect ratio. The asset will be cropped if it exceeds the bounds of the viewport.
- `none` - preserves the original asset dimensions and does not apply any scaling.
| -
setScale(float $scale) | Scale the asset to a fraction of the viewport size - i.e. setting the scale to 0.5 will scale asset to half the size of the viewport. This is useful for picture-in-picture video and scaling images such as logos and watermarks. | -
setPosition(string $position) | Place the asset in one of nine predefined positions of the viewport. This is most effective for when the asset is scaled and you want to position the element to a specific position [default to `center`].- `top` - top (center)
- `topRight` - top right
- `right` - right (center)
- `bottomRight` - bottom right
- `bottom` - bottom (center)
- `bottomLeft` - bottom left
- `left` - left (center)
- `topLeft` - top left
- `center` - center
| -
-stOffset([\Shotstack\Client\Model\Offset](#offset) $offset) | Offset the location of the asset relative to its position on the viewport. The offset distance is relative to the width of the viewport - for example an x offset of 0.5 will move the asset half the viewport width to the right. | -
+setOffset([\Shotstack\Client\Model\Offset](#offset) $offset) | Offset the location of the asset relative to its position on the viewport. The offset distance is relative to the width of the viewport - for example an x offset of 0.5 will move the asset half the viewport width to the right. | -
setTransition([\Shotstack\Client\Model\Transition](#transition) $transition) | In and out transitions for a clip - i.e. fade in and fade out | -
setEffect(string $effect) | A motion effect to apply to the Clip. - `zoomIn` - slow zoom in
- `zoomOut` - slow zoom out
- `slideLeft` - slow slide (pan) left
- `slideRight` - slow slide (pan) right
- `slideUp` - slow slide (pan) up
- `slideDown` - slow slide (pan) down
| -
setFilter(string $filter) | A filter effect to apply to the Clip. - `boost` - boost contrast and saturation
- `contrast` - increase contrast
- `darken` - darken the scene
- `greyscale` - remove colour
- `lighten` - lighten the scene
- `muted` - reduce saturation and contrast
- `invert` - invert colors
| -
@@ -590,8 +590,9 @@ use Shotstack\Client\Model\Transformation;
$transformation = new Transformation();
$transformation
- ->setX(0.5)
- ->setY(0.5);
+ ->setRotate($rotate)
+ ->setSkew($skew)
+ ->setFlip($flip);
```
#### Methods:
@@ -955,7 +956,7 @@ if ($video->getStatus() === 'done') {
```
## Inspecting Media
-The SDK `probe` endpoint can be used to inspect media hosted online. Simply pass the URL an asset to inspect.
+The SDK `probe` endpoint can be used to inspect media hosted online. Simply pass the URL of an asset to inspect.
### Probe Example
The example below inspects (probes) a video hosted on GitHub and returns metadata about the file.
@@ -1126,4 +1127,4 @@ getUpdated(): string | The time the asset status was last updated. | -
- [Getting Started Guide](https://shotstack.io/docs/guide/getting-started/core-concepts/)
- [API Reference](https://shotstack.io/docs/api/)
- [Examples](https://github.com/shotstack/php-demos)
-- [Shotstack Website](https://shotstack.io)
\ No newline at end of file
+- [Shotstack Website](https://shotstack.io)