/**
 * * Licensed under the Apache License, Version 2.0 (the 'License');
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an 'AS IS' BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Generated by Apache Flex Cross-Compiler from org/apache/flex/core/TransformScaleModel.as
 * org.apache.flex.core.TransformScaleModel
 *
 * @fileoverview
 *
 * @suppress {checkTypes|accessControls}
 */

goog.provide('org.apache.flex.core.TransformScaleModel');

goog.require('org.apache.flex.core.TransformModel');
goog.require('org.apache.flex.geom.Matrix');
goog.require('org.apache.flex.utils.Language');



/**
 * @constructor
 * @extends {org.apache.flex.core.TransformModel}
 */
org.apache.flex.core.TransformScaleModel = function() {
  org.apache.flex.core.TransformScaleModel.base(this, 'constructor');
};
goog.inherits(org.apache.flex.core.TransformScaleModel, org.apache.flex.core.TransformModel);


/**
 * @private
 * @type {number}
 */
org.apache.flex.core.TransformScaleModel.prototype._scale;


Object.defineProperties(org.apache.flex.core.TransformScaleModel.prototype, /** @lends {org.apache.flex.core.TransformScaleModel.prototype} */ {
/** @export */
scale: {
get: /** @this {org.apache.flex.core.TransformScaleModel} */ function() {
  return this._scale;
},
set: /** @this {org.apache.flex.core.TransformScaleModel} */ function(value) {
  this._scale = value;
  this.matrix = new org.apache.flex.geom.Matrix(this.scale, 0, 0, this.scale, 0, 0);
}}}
);


/**
 * Metadata
 *
 * @type {Object.<string, Array.<Object>>}
 */
org.apache.flex.core.TransformScaleModel.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'TransformScaleModel', qName: 'org.apache.flex.core.TransformScaleModel'}] };


/**
 * Prevent renaming of class. Needed for reflection.
 */
goog.exportSymbol('org.apache.flex.core.TransformScaleModel', org.apache.flex.core.TransformScaleModel);



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.flex.core.TransformScaleModel.prototype.FLEXJS_REFLECTION_INFO = function () {
  return {
    variables: function () {
      return {
      };
    },
    accessors: function () {
      return {
        'scale': { type: 'Number', declaredBy: 'org.apache.flex.core.TransformScaleModel'}
      };
    },
    methods: function () {
      return {
        'TransformScaleModel': { type: '', declaredBy: 'org.apache.flex.core.TransformScaleModel'}
      };
    }
  };
};