Added missing jsdoc comment to method "fade_rgb".
This commit is contained in:
parent
798e9ce1a3
commit
4023704d31
|
@ -432,6 +432,16 @@ class Mscript {
|
||||||
let color = str.split(' ')[3];
|
let color = str.split(' ')[3];
|
||||||
return this.rgb(color.trim());
|
return this.rgb(color.trim());
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Determine the state of a fade at a particular frame in the sequence, x
|
||||||
|
*
|
||||||
|
* @param {array} start Color the fade starts at
|
||||||
|
* @param {array} end Color the fade finishes at
|
||||||
|
* @param {integer} len Total length of the fade in frames
|
||||||
|
* @param {integer} x Position of the fade to get color value of
|
||||||
|
*
|
||||||
|
* @returns {array} Array containing RGB color values
|
||||||
|
*/
|
||||||
fade_rgb(start, end, len, x) {
|
fade_rgb(start, end, len, x) {
|
||||||
let cur = [];
|
let cur = [];
|
||||||
let diff;
|
let diff;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -432,6 +432,16 @@ class Mscript {
|
||||||
let color = str.split(' ')[3];
|
let color = str.split(' ')[3];
|
||||||
return this.rgb(color.trim());
|
return this.rgb(color.trim());
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Determine the state of a fade at a particular frame in the sequence, x
|
||||||
|
*
|
||||||
|
* @param {array} start Color the fade starts at
|
||||||
|
* @param {array} end Color the fade finishes at
|
||||||
|
* @param {integer} len Total length of the fade in frames
|
||||||
|
* @param {integer} x Position of the fade to get color value of
|
||||||
|
*
|
||||||
|
* @returns {array} Array containing RGB color values
|
||||||
|
*/
|
||||||
fade_rgb(start, end, len, x) {
|
fade_rgb(start, end, len, x) {
|
||||||
let cur = [];
|
let cur = [];
|
||||||
let diff;
|
let diff;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -432,6 +432,16 @@ class Mscript {
|
||||||
let color = str.split(' ')[3];
|
let color = str.split(' ')[3];
|
||||||
return this.rgb(color.trim());
|
return this.rgb(color.trim());
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Determine the state of a fade at a particular frame in the sequence, x
|
||||||
|
*
|
||||||
|
* @param {array} start Color the fade starts at
|
||||||
|
* @param {array} end Color the fade finishes at
|
||||||
|
* @param {integer} len Total length of the fade in frames
|
||||||
|
* @param {integer} x Position of the fade to get color value of
|
||||||
|
*
|
||||||
|
* @returns {array} Array containing RGB color values
|
||||||
|
*/
|
||||||
fade_rgb(start, end, len, x) {
|
fade_rgb(start, end, len, x) {
|
||||||
let cur = [];
|
let cur = [];
|
||||||
let diff;
|
let diff;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -462,6 +462,16 @@ class Mscript {
|
||||||
let color : string = str.split(' ')[3];
|
let color : string = str.split(' ')[3];
|
||||||
return this.rgb(color.trim())
|
return this.rgb(color.trim())
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Determine the state of a fade at a particular frame in the sequence, x
|
||||||
|
*
|
||||||
|
* @param {array} start Color the fade starts at
|
||||||
|
* @param {array} end Color the fade finishes at
|
||||||
|
* @param {integer} len Total length of the fade in frames
|
||||||
|
* @param {integer} x Position of the fade to get color value of
|
||||||
|
*
|
||||||
|
* @returns {array} Array containing RGB color values
|
||||||
|
*/
|
||||||
fade_rgb (start : RGB, end : RGB, len : number, x : number) {
|
fade_rgb (start : RGB, end : RGB, len : number, x : number) {
|
||||||
let cur = [];
|
let cur = [];
|
||||||
let diff;
|
let diff;
|
||||||
|
|
Loading…
Reference in New Issue