{"size": 987, "ext": "js", "max_stars_repo_path": "builder/src/AnimationBuilder.js", "max_stars_repo_name": "telmanagababov/js-patterns-examples", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "builder/src/AnimationBuilder.js", "max_issues_repo_name": "telmanagababov/js-patterns-examples", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "builder/src/AnimationBuilder.js", "max_forks_repo_name": "telmanagababov/js-patterns-examples", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 29.0294117647, "max_line_length": 50, "alphanum_fraction": 0.6291793313}
function AnimationBuilder() {
    this._animation = new AnimationView();
    
    this.setType = function(type) { 
        this._animation.setType(type);
    }; 
    this.setBorderSize = function(size) {
        this._animation.setBorderSize(size);
    };
    this.setBorderColor = function(color) {
        this._animation.setBorderColor(color);
    };
    this.setBorderType = function(type) {
        this._animation.setBorderType(type);
    };
    this.setBackgroundColor = function(color) {
        this._animation.setBackgroundColor(color);
    }; 
    this.setText = function(text) {
        this._animation.setText(text);
    };
    this.setTextColor = function(color) {
        this._animation.setTextColor(color);
    };
    this.setTextSize = function(size) {
        this._animation.setTextSize(size);
    };
    this.setAnimation = function(type) {
        this._animation.setAnimation(type);
    };
    this.getResult = function() {
        return this._animation;
    };
}