Skip to content

Commit 7db794a

Browse files
author
Jeff Shillitto
committed
Rename invert filter to negative and add effect speed variants
1 parent c2092df commit 7db794a

File tree

3 files changed

+79
-5
lines changed

3 files changed

+79
-5
lines changed

.shins/index.html

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4252,14 +4252,14 @@ <h3 id="properties">Properties</h3>
42524252
<td>string</td>
42534253
<td>false</td>
42544254
<td>none</td>
4255-
<td>A motion effect to apply to the Clip. <ul><br /> <li><code>zoomIn</code> - slow zoom in</li><br /> <li><code>zoomOut</code> - slow zoom out</li><br /> <li><code>slideLeft</code> - slow slide (pan) left</li><br /> <li><code>slideRight</code> - slow slide (pan) right</li><br /> <li><code>slideUp</code> - slow slide (pan) up</li><br /> <li><code>slideDown</code> - slow slide (pan) down</li><br /></ul></td>
4255+
<td>A motion effect to apply to the Clip. <ul><br /> <li><code>zoomIn</code> - slow zoom in</li><br /> <li><code>zoomOut</code> - slow zoom out</li><br /> <li><code>slideLeft</code> - slow slide (pan) left</li><br /> <li><code>slideRight</code> - slow slide (pan) right</li><br /> <li><code>slideUp</code> - slow slide (pan) up</li><br /> <li><code>slideDown</code> - slow slide (pan) down</li><br /></ul> The motion effect speed can also be controlled by appending <code>Fast</code> or <code>Slow</code> to the effect, e.g. <code>zoomInFast</code> or <code>slideRightSlow</code>.</td>
42564256
</tr>
42574257
<tr>
42584258
<td>filter</td>
42594259
<td>string</td>
42604260
<td>false</td>
42614261
<td>none</td>
4262-
<td>A filter effect to apply to the Clip. <ul><br /> <li><code>boost</code> - boost contrast and saturation</li><br /> <li><code>contrast</code> - increase contrast</li><br /> <li><code>darken</code> - darken the scene</li><br /> <li><code>greyscale</code> - remove colour</li><br /> <li><code>lighten</code> - lighten the scene</li><br /> <li><code>muted</code> - reduce saturation and contrast</li><br /> <li><code>invert</code> - invert colors</li><br /></ul></td>
4262+
<td>A filter effect to apply to the Clip. <ul><br /> <li><code>boost</code> - boost contrast and saturation</li><br /> <li><code>contrast</code> - increase contrast</li><br /> <li><code>darken</code> - darken the scene</li><br /> <li><code>greyscale</code> - remove colour</li><br /> <li><code>lighten</code> - lighten the scene</li><br /> <li><code>muted</code> - reduce saturation and contrast</li><br /> <li><code>negative</code> - negative colors</li><br /></ul></td>
42634263
</tr>
42644264
<tr>
42654265
<td>opacity</td>
@@ -4344,25 +4344,73 @@ <h4 id="enumerated-values">Enumerated Values</h4>
43444344
</tr>
43454345
<tr>
43464346
<td>effect</td>
4347+
<td>zoomInSlow</td>
4348+
</tr>
4349+
<tr>
4350+
<td>effect</td>
4351+
<td>zoomInFast</td>
4352+
</tr>
4353+
<tr>
4354+
<td>effect</td>
43474355
<td>zoomOut</td>
43484356
</tr>
43494357
<tr>
43504358
<td>effect</td>
4359+
<td>zoomOutSlow</td>
4360+
</tr>
4361+
<tr>
4362+
<td>effect</td>
4363+
<td>zoomOutFast</td>
4364+
</tr>
4365+
<tr>
4366+
<td>effect</td>
43514367
<td>slideLeft</td>
43524368
</tr>
43534369
<tr>
43544370
<td>effect</td>
4371+
<td>slideLeftSLow</td>
4372+
</tr>
4373+
<tr>
4374+
<td>effect</td>
4375+
<td>slideLeftFast</td>
4376+
</tr>
4377+
<tr>
4378+
<td>effect</td>
43554379
<td>slideRight</td>
43564380
</tr>
43574381
<tr>
43584382
<td>effect</td>
4383+
<td>slideRightSlow</td>
4384+
</tr>
4385+
<tr>
4386+
<td>effect</td>
4387+
<td>slideRightFast</td>
4388+
</tr>
4389+
<tr>
4390+
<td>effect</td>
43594391
<td>slideUp</td>
43604392
</tr>
43614393
<tr>
43624394
<td>effect</td>
4395+
<td>slideUpSlow</td>
4396+
</tr>
4397+
<tr>
4398+
<td>effect</td>
4399+
<td>slideUpFast</td>
4400+
</tr>
4401+
<tr>
4402+
<td>effect</td>
43634403
<td>slideDown</td>
43644404
</tr>
43654405
<tr>
4406+
<td>effect</td>
4407+
<td>slideDownSlow</td>
4408+
</tr>
4409+
<tr>
4410+
<td>effect</td>
4411+
<td>slideDownFast</td>
4412+
</tr>
4413+
<tr>
43664414
<td>filter</td>
43674415
<td>boost</td>
43684416
</tr>

.shins/source/index.html.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3574,8 +3574,8 @@ A clip is a container for a specific type of asset, i.e. a title, image, video,
35743574
|position|string|false|none|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. <ul><br> <li>`top` - top (center)</li><br> <li>`topRight` - top right</li><br> <li>`right` - right (center)</li><br> <li>`bottomRight` - bottom right</li><br> <li>`bottom` - bottom (center)</li><br> <li>`bottomLeft` - bottom left</li><br> <li>`left` - left (center)</li><br> <li>`topLeft` - top left</li><br> <li>`center` - center</li><br></ul>|
35753575
|offset|[Offset](#schemaoffset)|false|none|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.|
35763576
|transition|[Transition](#schematransition)|false|none|In and out transitions for a clip - i.e. fade in and fade out|
3577-
|effect|string|false|none|A motion effect to apply to the Clip. <ul><br> <li>`zoomIn` - slow zoom in</li><br> <li>`zoomOut` - slow zoom out</li><br> <li>`slideLeft` - slow slide (pan) left</li><br> <li>`slideRight` - slow slide (pan) right</li><br> <li>`slideUp` - slow slide (pan) up</li><br> <li>`slideDown` - slow slide (pan) down</li><br></ul>|
3578-
|filter|string|false|none|A filter effect to apply to the Clip. <ul><br> <li>`boost` - boost contrast and saturation</li><br> <li>`contrast` - increase contrast</li><br> <li>`darken` - darken the scene</li><br> <li>`greyscale` - remove colour</li><br> <li>`lighten` - lighten the scene</li><br> <li>`muted` - reduce saturation and contrast</li><br> <li>`invert` - invert colors</li><br></ul>|
3577+
|effect|string|false|none|A motion effect to apply to the Clip. <ul><br> <li>`zoomIn` - slow zoom in</li><br> <li>`zoomOut` - slow zoom out</li><br> <li>`slideLeft` - slow slide (pan) left</li><br> <li>`slideRight` - slow slide (pan) right</li><br> <li>`slideUp` - slow slide (pan) up</li><br> <li>`slideDown` - slow slide (pan) down</li><br></ul> The motion effect speed can also be controlled by appending `Fast` or `Slow` to the effect, e.g. `zoomInFast` or `slideRightSlow`.|
3578+
|filter|string|false|none|A filter effect to apply to the Clip. <ul><br> <li>`boost` - boost contrast and saturation</li><br> <li>`contrast` - increase contrast</li><br> <li>`darken` - darken the scene</li><br> <li>`greyscale` - remove colour</li><br> <li>`lighten` - lighten the scene</li><br> <li>`muted` - reduce saturation and contrast</li><br> <li>`negative` - negative colors</li><br></ul>|
35793579
|opacity|number|false|none|Sets the opacity of the Clip where 1 is opaque and 0 is transparent.|
35803580
|transform|[Transformation](#schematransformation)|false|none|A transformation lets you modify the visual properties of a clip. Available transformations are <b>rotate</b>, <b>skew</b> and <b>flip</b>. Transformations can be combined to create interesting new shapes and effects.|
35813581

@@ -3597,11 +3597,23 @@ A clip is a container for a specific type of asset, i.e. a title, image, video,
35973597
|position|topLeft|
35983598
|position|center|
35993599
|effect|zoomIn|
3600+
|effect|zoomInSlow|
3601+
|effect|zoomInFast|
36003602
|effect|zoomOut|
3603+
|effect|zoomOutSlow|
3604+
|effect|zoomOutFast|
36013605
|effect|slideLeft|
3606+
|effect|slideLeftSLow|
3607+
|effect|slideLeftFast|
36023608
|effect|slideRight|
3609+
|effect|slideRightSlow|
3610+
|effect|slideRightFast|
36033611
|effect|slideUp|
3612+
|effect|slideUpSlow|
3613+
|effect|slideUpFast|
36043614
|effect|slideDown|
3615+
|effect|slideDownSlow|
3616+
|effect|slideDownFast|
36053617
|filter|boost|
36063618
|filter|contrast|
36073619
|filter|darken|

api.oas3.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,13 +634,27 @@ components:
634634
<li>`slideUp` - slow slide (pan) up</li>
635635
<li>`slideDown` - slow slide (pan) down</li>
636636
</ul>
637+
The motion effect speed can also be controlled by appending `Fast` or `Slow`
638+
to the effect, e.g. `zoomInFast` or `slideRightSlow`.
637639
enum:
638640
- zoomIn
641+
- zoomInSlow
642+
- zoomInFast
639643
- zoomOut
644+
- zoomOutSlow
645+
- zoomOutFast
640646
- slideLeft
647+
- slideLeftSLow
648+
- slideLeftFast
641649
- slideRight
650+
- slideRightSlow
651+
- slideRightFast
642652
- slideUp
653+
- slideUpSlow
654+
- slideUpFast
643655
- slideDown
656+
- slideDownSlow
657+
- slideDownFast
644658
type: string
645659
filter:
646660
description: >-
@@ -652,7 +666,7 @@ components:
652666
<li>`greyscale` - remove colour</li>
653667
<li>`lighten` - lighten the scene</li>
654668
<li>`muted` - reduce saturation and contrast</li>
655-
<li>`invert` - invert colors</li>
669+
<li>`negative` - negative colors</li>
656670
</ul>
657671
enum:
658672
- boost

0 commit comments

Comments
 (0)