Skip to content

Commit 0ccbfc3

Browse files
author
Jeff Shillitto
committed
Rename invert filter and add effect speeds
1 parent 156d4bf commit 0ccbfc3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ setScale(float scale) | Scale the asset to a fraction of the viewport size - i.e
318318
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`].<ul><li>`top` - top (center)</li><li>`topRight` - top right</li><li>`right` - right (center)</li><li>`bottomRight` - bottom right</li><li>`bottom` - bottom (center)</li><li>`bottomLeft` - bottom left</li><li>`left` - left (center)</li><li>`topLeft` - top left</li><li>`center` - center</li></ul> | -
319319
setOffset([Shotstack.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. | -
320320
setTransition([Shotstack.Transition](#transition) transition) | In and out transitions for a clip - i.e. fade in and fade out | -
321-
setEffect(string effect) | A motion effect to apply to the Clip. <ul><li>`zoomIn` - slow zoom in</li><li>`zoomOut` - slow zoom out</li><li>`slideLeft` - slow slide (pan) left</li><li>`slideRight` - slow slide (pan) right</li><li>`slideUp` - slow slide (pan) up</li><li>`slideDown` - slow slide (pan) down</li></ul>| -
322-
setFilter(string filter) | A filter effect to apply to the Clip. <ul><li>`boost` - boost contrast and saturation</li><li>`contrast` - increase contrast</li><li>`darken` - darken the scene</li><li>`greyscale` - remove colour</li><li>`lighten` - lighten the scene</li><li>`muted` - reduce saturation and contrast</li><li>`invert` - invert colors</li></ul> | -
321+
setEffect(string effect) | A motion effect to apply to the Clip. <ul><li>`zoomIn` - slow zoom in</li><li>`zoomOut` - slow zoom out</li><li>`slideLeft` - slow slide (pan) left</li><li>`slideRight` - slow slide (pan) right</li><li>`slideUp` - slow slide (pan) up</li><li>`slideDown` - slow slide (pan) down</li></ul> The motion effect speed can also be controlled by appending `Fast` or `Slow` to the effect, e.g. `zoomInFast` or `slideRightSlow`.| -
322+
setFilter(string filter) | A filter effect to apply to the Clip. <ul><li>`boost` - boost contrast and saturation</li><li>`contrast` - increase contrast</li><li>`darken` - darken the scene</li><li>`greyscale` - remove colour</li><li>`lighten` - lighten the scene</li><li>`muted` - reduce saturation and contrast</li><li>`negative` - invert colors</li></ul> | -
323323
setOpacity(float opacity) | Sets the opacity of the Clip where 1 is opaque and 0 is transparent. [default to `1`] | -
324324
setTransform([Shotstack.Transformation](#transformation) transformation) | A transformation lets you modify the visual properties of a clip. Available transformations are [Shotstack.RotateTransformation](#rotatetransformation), [Shotstack.SkewTransformation](#skewtransformation) and [Shotstack.FlipTransformation](#fliptransformation). Transformations can be combined to create interesting new shapes and effects. | -
325325

0 commit comments

Comments
 (0)