keynote-parser2
Version:
A library for parsing Apple Keynote file
698 lines (658 loc) • 25.2 MB
JavaScript
/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/
"use strict";
var $protobuf = require("protobufjs/minimal");
// Common aliases
var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
// Exported root namespace
var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {});
$root.KNSOS = (function() {
/**
* Namespace KNSOS.
* @exports KNSOS
* @namespace
*/
var KNSOS = {};
KNSOS.SpecSetTransitionAttributesArchive = (function() {
/**
* Properties of a SpecSetTransitionAttributesArchive.
* @memberof KNSOS
* @interface ISpecSetTransitionAttributesArchive
* @property {KN.ITransitionAttributesArchive|null} [transitionAttributes] SpecSetTransitionAttributesArchive transitionAttributes
* @property {boolean} unset SpecSetTransitionAttributesArchive unset
*/
/**
* Constructs a new SpecSetTransitionAttributesArchive.
* @memberof KNSOS
* @classdesc Represents a SpecSetTransitionAttributesArchive.
* @implements ISpecSetTransitionAttributesArchive
* @constructor
* @param {KNSOS.ISpecSetTransitionAttributesArchive=} [properties] Properties to set
*/
function SpecSetTransitionAttributesArchive(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
this[keys[i]] = properties[keys[i]];
}
/**
* SpecSetTransitionAttributesArchive transitionAttributes.
* @member {KN.ITransitionAttributesArchive|null|undefined} transitionAttributes
* @memberof KNSOS.SpecSetTransitionAttributesArchive
* @instance
*/
SpecSetTransitionAttributesArchive.prototype.transitionAttributes = null;
/**
* SpecSetTransitionAttributesArchive unset.
* @member {boolean} unset
* @memberof KNSOS.SpecSetTransitionAttributesArchive
* @instance
*/
SpecSetTransitionAttributesArchive.prototype.unset = false;
/**
* Creates a new SpecSetTransitionAttributesArchive instance using the specified properties.
* @function create
* @memberof KNSOS.SpecSetTransitionAttributesArchive
* @static
* @param {KNSOS.ISpecSetTransitionAttributesArchive=} [properties] Properties to set
* @returns {KNSOS.SpecSetTransitionAttributesArchive} SpecSetTransitionAttributesArchive instance
*/
SpecSetTransitionAttributesArchive.create = function create(properties) {
return new SpecSetTransitionAttributesArchive(properties);
};
/**
* Encodes the specified SpecSetTransitionAttributesArchive message. Does not implicitly {@link KNSOS.SpecSetTransitionAttributesArchive.verify|verify} messages.
* @function encode
* @memberof KNSOS.SpecSetTransitionAttributesArchive
* @static
* @param {KNSOS.ISpecSetTransitionAttributesArchive} message SpecSetTransitionAttributesArchive message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
SpecSetTransitionAttributesArchive.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
if (message.transitionAttributes != null && Object.hasOwnProperty.call(message, "transitionAttributes"))
$root.KN.TransitionAttributesArchive.encode(message.transitionAttributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.unset);
return writer;
};
/**
* Encodes the specified SpecSetTransitionAttributesArchive message, length delimited. Does not implicitly {@link KNSOS.SpecSetTransitionAttributesArchive.verify|verify} messages.
* @function encodeDelimited
* @memberof KNSOS.SpecSetTransitionAttributesArchive
* @static
* @param {KNSOS.ISpecSetTransitionAttributesArchive} message SpecSetTransitionAttributesArchive message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
SpecSetTransitionAttributesArchive.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
* Decodes a SpecSetTransitionAttributesArchive message from the specified reader or buffer.
* @function decode
* @memberof KNSOS.SpecSetTransitionAttributesArchive
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
* @returns {KNSOS.SpecSetTransitionAttributesArchive} SpecSetTransitionAttributesArchive
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
SpecSetTransitionAttributesArchive.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.KNSOS.SpecSetTransitionAttributesArchive();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
case 1: {
message.transitionAttributes = $root.KN.TransitionAttributesArchive.decode(reader, reader.uint32());
break;
}
case 2: {
message.unset = reader.bool();
break;
}
default:
reader.skipType(tag & 7);
break;
}
}
if (!message.hasOwnProperty("unset"))
throw $util.ProtocolError("missing required 'unset'", { instance: message });
return message;
};
/**
* Decodes a SpecSetTransitionAttributesArchive message from the specified reader or buffer, length delimited.
* @function decodeDelimited
* @memberof KNSOS.SpecSetTransitionAttributesArchive
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @returns {KNSOS.SpecSetTransitionAttributesArchive} SpecSetTransitionAttributesArchive
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
SpecSetTransitionAttributesArchive.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
* Verifies a SpecSetTransitionAttributesArchive message.
* @function verify
* @memberof KNSOS.SpecSetTransitionAttributesArchive
* @static
* @param {Object.<string,*>} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
SpecSetTransitionAttributesArchive.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
if (message.transitionAttributes != null && message.hasOwnProperty("transitionAttributes")) {
var error = $root.KN.TransitionAttributesArchive.verify(message.transitionAttributes);
if (error)
return "transitionAttributes." + error;
}
if (typeof message.unset !== "boolean")
return "unset: boolean expected";
return null;
};
/**
* Creates a SpecSetTransitionAttributesArchive message from a plain object. Also converts values to their respective internal types.
* @function fromObject
* @memberof KNSOS.SpecSetTransitionAttributesArchive
* @static
* @param {Object.<string,*>} object Plain object
* @returns {KNSOS.SpecSetTransitionAttributesArchive} SpecSetTransitionAttributesArchive
*/
SpecSetTransitionAttributesArchive.fromObject = function fromObject(object) {
if (object instanceof $root.KNSOS.SpecSetTransitionAttributesArchive)
return object;
var message = new $root.KNSOS.SpecSetTransitionAttributesArchive();
if (object.transitionAttributes != null) {
if (typeof object.transitionAttributes !== "object")
throw TypeError(".KNSOS.SpecSetTransitionAttributesArchive.transitionAttributes: object expected");
message.transitionAttributes = $root.KN.TransitionAttributesArchive.fromObject(object.transitionAttributes);
}
if (object.unset != null)
message.unset = Boolean(object.unset);
return message;
};
/**
* Creates a plain object from a SpecSetTransitionAttributesArchive message. Also converts values to other types if specified.
* @function toObject
* @memberof KNSOS.SpecSetTransitionAttributesArchive
* @static
* @param {KNSOS.SpecSetTransitionAttributesArchive} message SpecSetTransitionAttributesArchive
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.<string,*>} Plain object
*/
SpecSetTransitionAttributesArchive.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
if (options.defaults) {
object.transitionAttributes = null;
object.unset = false;
}
if (message.transitionAttributes != null && message.hasOwnProperty("transitionAttributes"))
object.transitionAttributes = $root.KN.TransitionAttributesArchive.toObject(message.transitionAttributes, options);
if (message.unset != null && message.hasOwnProperty("unset"))
object.unset = message.unset;
return object;
};
/**
* Converts this SpecSetTransitionAttributesArchive to JSON.
* @function toJSON
* @memberof KNSOS.SpecSetTransitionAttributesArchive
* @instance
* @returns {Object.<string,*>} JSON object
*/
SpecSetTransitionAttributesArchive.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
* Gets the default type url for SpecSetTransitionAttributesArchive
* @function getTypeUrl
* @memberof KNSOS.SpecSetTransitionAttributesArchive
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
SpecSetTransitionAttributesArchive.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
return typeUrlPrefix + "/KNSOS.SpecSetTransitionAttributesArchive";
};
return SpecSetTransitionAttributesArchive;
})();
KNSOS.SpecTransitionAttributesArchive = (function() {
/**
* Properties of a SpecTransitionAttributesArchive.
* @memberof KNSOS
* @interface ISpecTransitionAttributesArchive
* @property {KNSOS.ISpecSetTransitionAttributesArchive|null} [specSetTransitionAttributes] SpecTransitionAttributesArchive specSetTransitionAttributes
*/
/**
* Constructs a new SpecTransitionAttributesArchive.
* @memberof KNSOS
* @classdesc Represents a SpecTransitionAttributesArchive.
* @implements ISpecTransitionAttributesArchive
* @constructor
* @param {KNSOS.ISpecTransitionAttributesArchive=} [properties] Properties to set
*/
function SpecTransitionAttributesArchive(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
if (properties[keys[i]] != null)
this[keys[i]] = properties[keys[i]];
}
/**
* SpecTransitionAttributesArchive specSetTransitionAttributes.
* @member {KNSOS.ISpecSetTransitionAttributesArchive|null|undefined} specSetTransitionAttributes
* @memberof KNSOS.SpecTransitionAttributesArchive
* @instance
*/
SpecTransitionAttributesArchive.prototype.specSetTransitionAttributes = null;
/**
* Creates a new SpecTransitionAttributesArchive instance using the specified properties.
* @function create
* @memberof KNSOS.SpecTransitionAttributesArchive
* @static
* @param {KNSOS.ISpecTransitionAttributesArchive=} [properties] Properties to set
* @returns {KNSOS.SpecTransitionAttributesArchive} SpecTransitionAttributesArchive instance
*/
SpecTransitionAttributesArchive.create = function create(properties) {
return new SpecTransitionAttributesArchive(properties);
};
/**
* Encodes the specified SpecTransitionAttributesArchive message. Does not implicitly {@link KNSOS.SpecTransitionAttributesArchive.verify|verify} messages.
* @function encode
* @memberof KNSOS.SpecTransitionAttributesArchive
* @static
* @param {KNSOS.ISpecTransitionAttributesArchive} message SpecTransitionAttributesArchive message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
SpecTransitionAttributesArchive.encode = function encode(message, writer) {
if (!writer)
writer = $Writer.create();
if (message.specSetTransitionAttributes != null && Object.hasOwnProperty.call(message, "specSetTransitionAttributes"))
$root.KNSOS.SpecSetTransitionAttributesArchive.encode(message.specSetTransitionAttributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
return writer;
};
/**
* Encodes the specified SpecTransitionAttributesArchive message, length delimited. Does not implicitly {@link KNSOS.SpecTransitionAttributesArchive.verify|verify} messages.
* @function encodeDelimited
* @memberof KNSOS.SpecTransitionAttributesArchive
* @static
* @param {KNSOS.ISpecTransitionAttributesArchive} message SpecTransitionAttributesArchive message or plain object to encode
* @param {$protobuf.Writer} [writer] Writer to encode to
* @returns {$protobuf.Writer} Writer
*/
SpecTransitionAttributesArchive.encodeDelimited = function encodeDelimited(message, writer) {
return this.encode(message, writer).ldelim();
};
/**
* Decodes a SpecTransitionAttributesArchive message from the specified reader or buffer.
* @function decode
* @memberof KNSOS.SpecTransitionAttributesArchive
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @param {number} [length] Message length if known beforehand
* @returns {KNSOS.SpecTransitionAttributesArchive} SpecTransitionAttributesArchive
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
SpecTransitionAttributesArchive.decode = function decode(reader, length, error) {
if (!(reader instanceof $Reader))
reader = $Reader.create(reader);
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.KNSOS.SpecTransitionAttributesArchive();
while (reader.pos < end) {
var tag = reader.uint32();
if (tag === error)
break;
switch (tag >>> 3) {
case 1: {
message.specSetTransitionAttributes = $root.KNSOS.SpecSetTransitionAttributesArchive.decode(reader, reader.uint32());
break;
}
default:
reader.skipType(tag & 7);
break;
}
}
return message;
};
/**
* Decodes a SpecTransitionAttributesArchive message from the specified reader or buffer, length delimited.
* @function decodeDelimited
* @memberof KNSOS.SpecTransitionAttributesArchive
* @static
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
* @returns {KNSOS.SpecTransitionAttributesArchive} SpecTransitionAttributesArchive
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
SpecTransitionAttributesArchive.decodeDelimited = function decodeDelimited(reader) {
if (!(reader instanceof $Reader))
reader = new $Reader(reader);
return this.decode(reader, reader.uint32());
};
/**
* Verifies a SpecTransitionAttributesArchive message.
* @function verify
* @memberof KNSOS.SpecTransitionAttributesArchive
* @static
* @param {Object.<string,*>} message Plain object to verify
* @returns {string|null} `null` if valid, otherwise the reason why it is not
*/
SpecTransitionAttributesArchive.verify = function verify(message) {
if (typeof message !== "object" || message === null)
return "object expected";
if (message.specSetTransitionAttributes != null && message.hasOwnProperty("specSetTransitionAttributes")) {
var error = $root.KNSOS.SpecSetTransitionAttributesArchive.verify(message.specSetTransitionAttributes);
if (error)
return "specSetTransitionAttributes." + error;
}
return null;
};
/**
* Creates a SpecTransitionAttributesArchive message from a plain object. Also converts values to their respective internal types.
* @function fromObject
* @memberof KNSOS.SpecTransitionAttributesArchive
* @static
* @param {Object.<string,*>} object Plain object
* @returns {KNSOS.SpecTransitionAttributesArchive} SpecTransitionAttributesArchive
*/
SpecTransitionAttributesArchive.fromObject = function fromObject(object) {
if (object instanceof $root.KNSOS.SpecTransitionAttributesArchive)
return object;
var message = new $root.KNSOS.SpecTransitionAttributesArchive();
if (object.specSetTransitionAttributes != null) {
if (typeof object.specSetTransitionAttributes !== "object")
throw TypeError(".KNSOS.SpecTransitionAttributesArchive.specSetTransitionAttributes: object expected");
message.specSetTransitionAttributes = $root.KNSOS.SpecSetTransitionAttributesArchive.fromObject(object.specSetTransitionAttributes);
}
return message;
};
/**
* Creates a plain object from a SpecTransitionAttributesArchive message. Also converts values to other types if specified.
* @function toObject
* @memberof KNSOS.SpecTransitionAttributesArchive
* @static
* @param {KNSOS.SpecTransitionAttributesArchive} message SpecTransitionAttributesArchive
* @param {$protobuf.IConversionOptions} [options] Conversion options
* @returns {Object.<string,*>} Plain object
*/
SpecTransitionAttributesArchive.toObject = function toObject(message, options) {
if (!options)
options = {};
var object = {};
if (options.defaults)
object.specSetTransitionAttributes = null;
if (message.specSetTransitionAttributes != null && message.hasOwnProperty("specSetTransitionAttributes"))
object.specSetTransitionAttributes = $root.KNSOS.SpecSetTransitionAttributesArchive.toObject(message.specSetTransitionAttributes, options);
return object;
};
/**
* Converts this SpecTransitionAttributesArchive to JSON.
* @function toJSON
* @memberof KNSOS.SpecTransitionAttributesArchive
* @instance
* @returns {Object.<string,*>} JSON object
*/
SpecTransitionAttributesArchive.prototype.toJSON = function toJSON() {
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
};
/**
* Gets the default type url for SpecTransitionAttributesArchive
* @function getTypeUrl
* @memberof KNSOS.SpecTransitionAttributesArchive
* @static
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns {string} The default type url
*/
SpecTransitionAttributesArchive.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
if (typeUrlPrefix === undefined) {
typeUrlPrefix = "type.googleapis.com";
}
return typeUrlPrefix + "/KNSOS.SpecTransitionAttributesArchive";
};
return SpecTransitionAttributesArchive;
})();
KNSOS.MotionBackgroundStylePropertyChangeSetArchive = (function() {
/**
* Properties of a MotionBackgroundStylePropertyChangeSetArchive.
* @memberof KNSOS
* @interface IMotionBackgroundStylePropertyChangeSetArchive
* @property {TSSSOS.ISpecStringArchive|null} [name] MotionBackgroundStylePropertyChangeSetArchive name
* @property {boolean|null} [nameUndefined] MotionBackgroundStylePropertyChangeSetArchive nameUndefined
* @property {TSSSOS.ISpecStringArchive|null} [variant] MotionBackgroundStylePropertyChangeSetArchive variant
* @property {boolean|null} [variantUndefined] MotionBackgroundStylePropertyChangeSetArchive variantUndefined
* @property {TSDSOS.ISpecFillArchive|null} [colorGradient] MotionBackgroundStylePropertyChangeSetArchive colorGradient
* @property {boolean|null} [colorGradientUndefined] MotionBackgroundStylePropertyChangeSetArchive colorGradientUndefined
* @property {TSSSOS.ISpecIntegerArchive|null} [randomSeed] MotionBackgroundStylePropertyChangeSetArchive randomSeed
* @property {boolean|null} [randomSeedUndefined] MotionBackgroundStylePropertyChangeSetArchive randomSeedUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [colorBlurSigma] MotionBackgroundStylePropertyChangeSetArchive colorBlurSigma
* @property {boolean|null} [colorBlurSigmaUndefined] MotionBackgroundStylePropertyChangeSetArchive colorBlurSigmaUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [colorContrast] MotionBackgroundStylePropertyChangeSetArchive colorContrast
* @property {boolean|null} [colorContrastUndefined] MotionBackgroundStylePropertyChangeSetArchive colorContrastUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [colorGamma] MotionBackgroundStylePropertyChangeSetArchive colorGamma
* @property {boolean|null} [colorGammaUndefined] MotionBackgroundStylePropertyChangeSetArchive colorGammaUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [colorSaturation] MotionBackgroundStylePropertyChangeSetArchive colorSaturation
* @property {boolean|null} [colorSaturationUndefined] MotionBackgroundStylePropertyChangeSetArchive colorSaturationUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [colorBrightness] MotionBackgroundStylePropertyChangeSetArchive colorBrightness
* @property {boolean|null} [colorBrightnessUndefined] MotionBackgroundStylePropertyChangeSetArchive colorBrightnessUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [colorHue] MotionBackgroundStylePropertyChangeSetArchive colorHue
* @property {boolean|null} [colorHueUndefined] MotionBackgroundStylePropertyChangeSetArchive colorHueUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [colorVibrance] MotionBackgroundStylePropertyChangeSetArchive colorVibrance
* @property {boolean|null} [colorVibranceUndefined] MotionBackgroundStylePropertyChangeSetArchive colorVibranceUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [noiseAmplitude] MotionBackgroundStylePropertyChangeSetArchive noiseAmplitude
* @property {boolean|null} [noiseAmplitudeUndefined] MotionBackgroundStylePropertyChangeSetArchive noiseAmplitudeUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [noiseMovement] MotionBackgroundStylePropertyChangeSetArchive noiseMovement
* @property {boolean|null} [noiseMovementUndefined] MotionBackgroundStylePropertyChangeSetArchive noiseMovementUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [noiseOctaves] MotionBackgroundStylePropertyChangeSetArchive noiseOctaves
* @property {boolean|null} [noiseOctavesUndefined] MotionBackgroundStylePropertyChangeSetArchive noiseOctavesUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [noiseScale] MotionBackgroundStylePropertyChangeSetArchive noiseScale
* @property {boolean|null} [noiseScaleUndefined] MotionBackgroundStylePropertyChangeSetArchive noiseScaleUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [noiseScaleHorizontal] MotionBackgroundStylePropertyChangeSetArchive noiseScaleHorizontal
* @property {boolean|null} [noiseScaleHorizontalUndefined] MotionBackgroundStylePropertyChangeSetArchive noiseScaleHorizontalUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [noiseScaleVertical] MotionBackgroundStylePropertyChangeSetArchive noiseScaleVertical
* @property {boolean|null} [noiseScaleVerticalUndefined] MotionBackgroundStylePropertyChangeSetArchive noiseScaleVerticalUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [noiseGain] MotionBackgroundStylePropertyChangeSetArchive noiseGain
* @property {boolean|null} [noiseGainUndefined] MotionBackgroundStylePropertyChangeSetArchive noiseGainUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [noiseLacunarity] MotionBackgroundStylePropertyChangeSetArchive noiseLacunarity
* @property {boolean|null} [noiseLacunarityUndefined] MotionBackgroundStylePropertyChangeSetArchive noiseLacunarityUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [noiseSpeed] MotionBackgroundStylePropertyChangeSetArchive noiseSpeed
* @property {boolean|null} [noiseSpeedUndefined] MotionBackgroundStylePropertyChangeSetArchive noiseSpeedUndefined
* @property {TSSSOS.ISpecIntegerArchive|null} [colorPaletteOffset] MotionBackgroundStylePropertyChangeSetArchive colorPaletteOffset
* @property {boolean|null} [colorPaletteOffsetUndefined] MotionBackgroundStylePropertyChangeSetArchive colorPaletteOffsetUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [zoom] MotionBackgroundStylePropertyChangeSetArchive zoom
* @property {boolean|null} [zoomUndefined] MotionBackgroundStylePropertyChangeSetArchive zoomUndefined
* @property {TSSSOS.ISpecBoolArchive|null} [invert] MotionBackgroundStylePropertyChangeSetArchive invert
* @property {boolean|null} [invertUndefined] MotionBackgroundStylePropertyChangeSetArchive invertUndefined
* @property {TSSSOS.ISpecStringArchive|null} [blendMode] MotionBackgroundStylePropertyChangeSetArchive blendMode
* @property {boolean|null} [blendModeUndefined] MotionBackgroundStylePropertyChangeSetArchive blendModeUndefined
* @property {TSSSOS.ISpecStringArchive|null} [sourceBlendFactor] MotionBackgroundStylePropertyChangeSetArchive sourceBlendFactor
* @property {boolean|null} [sourceBlendFactorUndefined] MotionBackgroundStylePropertyChangeSetArchive sourceBlendFactorUndefined
* @property {TSSSOS.ISpecStringArchive|null} [destBlendFactor] MotionBackgroundStylePropertyChangeSetArchive destBlendFactor
* @property {boolean|null} [destBlendFactorUndefined] MotionBackgroundStylePropertyChangeSetArchive destBlendFactorUndefined
* @property {TSSSOS.ISpecStringArchive|null} [motion] MotionBackgroundStylePropertyChangeSetArchive motion
* @property {boolean|null} [motionUndefined] MotionBackgroundStylePropertyChangeSetArchive motionUndefined
* @property {TSSSOS.ISpecColorArchive|null} [backgroundColor] MotionBackgroundStylePropertyChangeSetArchive backgroundColor
* @property {boolean|null} [backgroundColorUndefined] MotionBackgroundStylePropertyChangeSetArchive backgroundColorUndefined
* @property {TSSSOS.ISpecColorArchive|null} [foregroundColor] MotionBackgroundStylePropertyChangeSetArchive foregroundColor
* @property {boolean|null} [foregroundColorUndefined] MotionBackgroundStylePropertyChangeSetArchive foregroundColorUndefined
* @property {TSSSOS.ISpecColorArchive|null} [lineColor] MotionBackgroundStylePropertyChangeSetArchive lineColor
* @property {boolean|null} [lineColorUndefined] MotionBackgroundStylePropertyChangeSetArchive lineColorUndefined
* @property {TSSSOS.ISpecColorArchive|null} [pointColor] MotionBackgroundStylePropertyChangeSetArchive pointColor
* @property {boolean|null} [pointColorUndefined] MotionBackgroundStylePropertyChangeSetArchive pointColorUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [alpha] MotionBackgroundStylePropertyChangeSetArchive alpha
* @property {boolean|null} [alphaUndefined] MotionBackgroundStylePropertyChangeSetArchive alphaUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [border] MotionBackgroundStylePropertyChangeSetArchive border
* @property {boolean|null} [borderUndefined] MotionBackgroundStylePropertyChangeSetArchive borderUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [blend] MotionBackgroundStylePropertyChangeSetArchive blend
* @property {boolean|null} [blendUndefined] MotionBackgroundStylePropertyChangeSetArchive blendUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [brightness] MotionBackgroundStylePropertyChangeSetArchive brightness
* @property {boolean|null} [brightnessUndefined] MotionBackgroundStylePropertyChangeSetArchive brightnessUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [borderLightness] MotionBackgroundStylePropertyChangeSetArchive borderLightness
* @property {boolean|null} [borderLightnessUndefined] MotionBackgroundStylePropertyChangeSetArchive borderLightnessUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [contrast] MotionBackgroundStylePropertyChangeSetArchive contrast
* @property {boolean|null} [contrastUndefined] MotionBackgroundStylePropertyChangeSetArchive contrastUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [damping] MotionBackgroundStylePropertyChangeSetArchive damping
* @property {boolean|null} [dampingUndefined] MotionBackgroundStylePropertyChangeSetArchive dampingUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [density] MotionBackgroundStylePropertyChangeSetArchive density
* @property {boolean|null} [densityUndefined] MotionBackgroundStylePropertyChangeSetArchive densityUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [diffusePower] MotionBackgroundStylePropertyChangeSetArchive diffusePower
* @property {boolean|null} [diffusePowerUndefined] MotionBackgroundStylePropertyChangeSetArchive diffusePowerUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [distortion] MotionBackgroundStylePropertyChangeSetArchive distortion
* @property {boolean|null} [distortionUndefined] MotionBackgroundStylePropertyChangeSetArchive distortionUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [entropy] MotionBackgroundStylePropertyChangeSetArchive entropy
* @property {boolean|null} [entropyUndefined] MotionBackgroundStylePropertyChangeSetArchive entropyUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [exposure] MotionBackgroundStylePropertyChangeSetArchive exposure
* @property {boolean|null} [exposureUndefined] MotionBackgroundStylePropertyChangeSetArchive exposureUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [filter] MotionBackgroundStylePropertyChangeSetArchive filter
* @property {boolean|null} [filterUndefined] MotionBackgroundStylePropertyChangeSetArchive filterUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [fogDistance] MotionBackgroundStylePropertyChangeSetArchive fogDistance
* @property {boolean|null} [fogDistanceUndefined] MotionBackgroundStylePropertyChangeSetArchive fogDistanceUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [fogPower] MotionBackgroundStylePropertyChangeSetArchive fogPower
* @property {boolean|null} [fogPowerUndefined] MotionBackgroundStylePropertyChangeSetArchive fogPowerUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [gamma] MotionBackgroundStylePropertyChangeSetArchive gamma
* @property {boolean|null} [gammaUndefined] MotionBackgroundStylePropertyChangeSetArchive gammaUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [grainAmount] MotionBackgroundStylePropertyChangeSetArchive grainAmount
* @property {boolean|null} [grainAmountUndefined] MotionBackgroundStylePropertyChangeSetArchive grainAmountUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [grainIntensity] MotionBackgroundStylePropertyChangeSetArchive grainIntensity
* @property {boolean|null} [grainIntensityUndefined] MotionBackgroundStylePropertyChangeSetArchive grainIntensityUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [hue] MotionBackgroundStylePropertyChangeSetArchive hue
* @property {boolean|null} [hueUndefined] MotionBackgroundStylePropertyChangeSetArchive hueUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [lightness] MotionBackgroundStylePropertyChangeSetArchive lightness
* @property {boolean|null} [lightnessUndefined] MotionBackgroundStylePropertyChangeSetArchive lightnessUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [lineAlpha] MotionBackgroundStylePropertyChangeSetArchive lineAlpha
* @property {boolean|null} [lineAlphaUndefined] MotionBackgroundStylePropertyChangeSetArchive lineAlphaUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [lineCenter] MotionBackgroundStylePropertyChangeSetArchive lineCenter
* @property {boolean|null} [lineCenterUndefined] MotionBackgroundStylePropertyChangeSetArchive lineCenterUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [lineFade] MotionBackgroundStylePropertyChangeSetArchive lineFade
* @property {boolean|null} [lineFadeUndefined] MotionBackgroundStylePropertyChangeSetArchive lineFadeUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [lineFadePower] MotionBackgroundStylePropertyChangeSetArchive lineFadePower
* @property {boolean|null} [lineFadePowerUndefined] MotionBackgroundStylePropertyChangeSetArchive lineFadePowerUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [lineLength] MotionBackgroundStylePropertyChangeSetArchive lineLength
* @property {boolean|null} [lineLengthUndefined] MotionBackgroundStylePropertyChangeSetArchive lineLengthUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [lineWidth] MotionBackgroundStylePropertyChangeSetArchive lineWidth
* @property {boolean|null} [lineWidthUndefined] MotionBackgroundStylePropertyChangeSetArchive lineWidthUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [noiseSizeScale] MotionBackgroundStylePropertyChangeSetArchive noiseSizeScale
* @property {boolean|null} [noiseSizeScaleUndefined] MotionBackgroundStylePropertyChangeSetArchive noiseSizeScaleUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [noiseSizeWeight] MotionBackgroundStylePropertyChangeSetArchive noiseSizeWeight
* @property {boolean|null} [noiseSizeWeightUndefined] MotionBackgroundStylePropertyChangeSetArchive noiseSizeWeightUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [noiseVariance] MotionBackgroundStylePropertyChangeSetArchive noiseVariance
* @property {boolean|null} [noiseVarianceUndefined] MotionBackgroundStylePropertyChangeSetArchive noiseVarianceUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [offset] MotionBackgroundStylePropertyChangeSetArchive offset
* @property {boolean|null} [offsetUndefined] MotionBackgroundStylePropertyChangeSetArchive offsetUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [motionBackgroundOpacity] MotionBackgroundStylePropertyChangeSetArchive motionBackgroundOpacity
* @property {boolean|null} [motionBackgroundOpacityUndefined] MotionBackgroundStylePropertyChangeSetArchive motionBackgroundOpacityUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [pointDepthAlpha] MotionBackgroundStylePropertyChangeSetArchive pointDepthAlpha
* @property {boolean|null} [pointDepthAlphaUndefined] MotionBackgroundStylePropertyChangeSetArchive pointDepthAlphaUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [pointSize] MotionBackgroundStylePropertyChangeSetArchive pointSize
* @property {boolean|null} [pointSizeUndefined] MotionBackgroundStylePropertyChangeSetArchive pointSizeUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [power] MotionBackgroundStylePropertyChangeSetArchive power
* @property {boolean|null} [powerUndefined] MotionBackgroundStylePropertyChangeSetArchive powerUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [radius] MotionBackgroundStylePropertyChangeSetArchive radius
* @property {boolean|null} [radiusUndefined] MotionBackgroundStylePropertyChangeSetArchive radiusUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [refraction] MotionBackgroundStylePropertyChangeSetArchive refraction
* @property {boolean|null} [refractionUndefined] MotionBackgroundStylePropertyChangeSetArchive refractionUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [resolution] MotionBackgroundStylePropertyChangeSetArchive resolution
* @property {boolean|null} [resolutionUndefined] MotionBackgroundStylePropertyChangeSetArchive resolutionUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [saturation] MotionBackgroundStylePropertyChangeSetArchive saturation
* @property {boolean|null} [saturationUndefined] MotionBackgroundStylePropertyChangeSetArchive saturationUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [scale] MotionBackgroundStylePropertyChangeSetArchive scale
* @property {boolean|null} [scaleUndefined] MotionBackgroundStylePropertyChangeSetArchive scaleUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [shadowAlpha] MotionBackgroundStylePropertyChangeSetArchive shadowAlpha
* @property {boolean|null} [shadowAlphaUndefined] MotionBackgroundStylePropertyChangeSetArchive shadowAlphaUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [shadowAngle] MotionBackgroundStylePropertyChangeSetArchive shadowAngle
* @property {boolean|null} [shadowAngleUndefined] MotionBackgroundStylePropertyChangeSetArchive shadowAngleUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [shadowOffset] MotionBackgroundStylePropertyChangeSetArchive shadowOffset
* @property {boolean|null} [shadowOffsetUndefined] MotionBackgroundStylePropertyChangeSetArchive shadowOffsetUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [shadowScale] MotionBackgroundStylePropertyChangeSetArchive shadowScale
* @property {boolean|null} [shadowScaleUndefined] MotionBackgroundStylePropertyChangeSetArchive shadowScaleUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [shadowValue] MotionBackgroundStylePropertyChangeSetArchive shadowValue
* @property {boolean|null} [shadowValueUndefined] MotionBackgroundStylePropertyChangeSetArchive shadowValueUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [speed] MotionBackgroundStylePropertyChangeSetArchive speed
* @property {boolean|null} [speedUndefined] MotionBackgroundStylePropertyChangeSetArchive speedUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [texturePower] MotionBackgroundStylePropertyChangeSetArchive texturePower
* @property {boolean|null} [texturePowerUndefined] MotionBackgroundStylePropertyChangeSetArchive texturePowerUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [time] MotionBackgroundStylePropertyChangeSetArchive time
* @property {boolean|null} [timeUndefined] MotionBackgroundStylePropertyChangeSetArchive timeUndefined
* @property {TSSSOS.ISpecBoolArchive|null} [drawPoints] MotionBackgroundStylePropertyChangeSetArchive drawPoints
* @property {boolean|null} [drawPointsUndefined] MotionBackgroundStylePropertyChangeSetArchive drawPointsUndefined
* @property {TSSSOS.ISpecBoolArchive|null} [drawLines] MotionBackgroundStylePropertyChangeSetArchive drawLines
* @property {boolean|null} [drawLinesUndefined] MotionBackgroundStylePropertyChangeSetArchive drawLinesUndefined
* @property {TSSSOS.ISpecBoolArchive|null} [drawShadows] MotionBackgroundStylePropertyChangeSetArchive drawShadows
* @property {boolean|null} [drawShadowsUndefined] MotionBackgroundStylePropertyChangeSetArchive drawShadowsUndefined
* @property {TSSSOS.ISpecIntegerArchive|null} [pixelsPerDivision] MotionBackgroundStylePropertyChangeSetArchive pixelsPerDivision
* @property {boolean|null} [pixelsPerDivisionUndefined] MotionBackgroundStylePropertyChangeSetArchive pixelsPerDivisionUndefined
* @property {TSSSOS.ISpecBoolArchive|null} [symmetry] MotionBackgroundStylePropertyChangeSetArchive symmetry
* @property {boolean|null} [symmetryUndefined] MotionBackgroundStylePropertyChangeSetArchive symmetryUndefined
* @property {TSSSOS.ISpecBoolArchive|null} [lockFocus] MotionBackgroundStylePropertyChangeSetArchive lockFocus
* @property {boolean|null} [lockFocusUndefined] MotionBackgroundStylePropertyChangeSetArchive lockFocusUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [amplitude] MotionBackgroundStylePropertyChangeSetArchive amplitude
* @property {boolean|null} [amplitudeUndefined] MotionBackgroundStylePropertyChangeSetArchive amplitudeUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [envelope] MotionBackgroundStylePropertyChangeSetArchive envelope
* @property {boolean|null} [envelopeUndefined] MotionBackgroundStylePropertyChangeSetArchive envelopeUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [yOffset] MotionBackgroundStylePropertyChangeSetArchive yOffset
* @property {boolean|null} [yOffsetUndefined] MotionBackgroundStylePropertyChangeSetArchive yOffsetUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [focus] MotionBackgroundStylePropertyChangeSetArchive focus
* @property {boolean|null} [focusUndefined] MotionBackgroundStylePropertyChangeSetArchive focusUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [blur] MotionBackgroundStylePropertyChangeSetArchive blur
* @property {boolean|null} [blurUndefined] MotionBackgroundStylePropertyChangeSetArchive blurUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [grainSpeed] MotionBackgroundStylePropertyChangeSetArchive grainSpeed
* @property {boolean|null} [grainSpeedUndefined] MotionBackgroundStylePropertyChangeSetArchive grainSpeedUndefined
* @property {TSSSOS.ISpecColorArchive|null} [meshColor] MotionBackgroundStylePropertyChangeSetArchive meshColor
* @property {boolean|null} [meshColorUndefined] MotionBackgroundStylePropertyChangeSetArchive meshColorUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [angle] MotionBackgroundStylePropertyChangeSetArchive angle
* @property {boolean|null} [angleUndefined] MotionBackgroundStylePropertyChangeSetArchive angleUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [meshLineWidth] MotionBackgroundStylePropertyChangeSetArchive meshLineWidth
* @property {boolean|null} [meshLineWidthUndefined] MotionBackgroundStylePropertyChangeSetArchive meshLineWidthUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [deltaTime] MotionBackgroundStylePropertyChangeSetArchive deltaTime
* @property {boolean|null} [deltaTimeUndefined] MotionBackgroundStylePropertyChangeSetArchive deltaTimeUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [threshold] MotionBackgroundStylePropertyChangeSetArchive threshold
* @property {boolean|null} [thresholdUndefined] MotionBackgroundStylePropertyChangeSetArchive thresholdUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [timeStart] MotionBackgroundStylePropertyChangeSetArchive timeStart
* @property {boolean|null} [timeStartUndefined] MotionBackgroundStylePropertyChangeSetArchive timeStartUndefined
* @property {TSSSOS.ISpecIntegerArchive|null} [instanceCount] MotionBackgroundStylePropertyChangeSetArchive instanceCount
* @property {boolean|null} [instanceCountUndefined] MotionBackgroundStylePropertyChangeSetArchive instanceCountUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [extrusion] MotionBackgroundStylePropertyChangeSetArchive extrusion
* @property {boolean|null} [extrusionUndefined] MotionBackgroundStylePropertyChangeSetArchive extrusionUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [noiseOffset] MotionBackgroundStylePropertyChangeSetArchive noiseOffset
* @property {boolean|null} [noiseOffsetUndefined] MotionBackgroundStylePropertyChangeSetArchive noiseOffsetUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [colorHueOffset] MotionBackgroundStylePropertyChangeSetArchive colorHueOffset
* @property {boolean|null} [colorHueOffsetUndefined] MotionBackgroundStylePropertyChangeSetArchive colorHueOffsetUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [shadowHue] MotionBackgroundStylePropertyChangeSetArchive shadowHue
* @property {boolean|null} [shadowHueUndefined] MotionBackgroundStylePropertyChangeSetArchive shadowHueUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [shadowHueOffset] MotionBackgroundStylePropertyChangeSetArchive shadowHueOffset
* @property {boolean|null} [shadowHueOffsetUndefined] MotionBackgroundStylePropertyChangeSetArchive shadowHueOffsetUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [shadowSaturation] MotionBackgroundStylePropertyChangeSetArchive shadowSaturation
* @property {boolean|null} [shadowSaturationUndefined] MotionBackgroundStylePropertyChangeSetArchive shadowSaturationUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [shadowBrightness] MotionBackgroundStylePropertyChangeSetArchive shadowBrightness
* @property {boolean|null} [shadowBrightnessUndefined] MotionBackgroundStylePropertyChangeSetArchive shadowBrightnessUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [shadowIntensity] MotionBackgroundStylePropertyChangeSetArchive shadowIntensity
* @property {boolean|null} [shadowIntensityUndefined] MotionBackgroundStylePropertyChangeSetArchive shadowIntensityUndefined
* @property {TSSSOS.ISpecDoubleArchive|null} [shadowPower] MotionBackgroundStylePropertyChangeSetArchive shadowPower
* @property {boolean|null} [shadowPowerUndefined] MotionBackgroundStylePropertyChangeSetArchive shadowPowerUndefined
* @property {TSSSOS.ISpecIntegerArchive|null} [noiseOctavesIterations] MotionBackgroundStylePropertyChangeSetArchive noiseOctavesIterations
* @property {boolean|null} [noiseOctavesIterationsUndefined] MotionBackgroundStylePropertyChangeSetArchive noiseOctavesIterationsUndefined
*/
/**
* Constructs a new MotionBackgroundStylePropertyChangeSetArchive.
* @memberof KNSOS
* @classdesc Represents a MotionBackgroundStylePropertyChangeSetArchive.
* @implements IMotionBackgroundStylePropertyChangeSetArchive
* @constructor
* @param {KNSOS.IMotionBackgroundStylePropertyChangeSetArchive=} [properties] Properties to set
*/
function MotionBackgroundStylePropertyChangeSetArchive(properties) {
if (properties)
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)