API Docs for: 2.0.0
Show:

File: src/pixi/filters/TiltShiftFilter.js

/**
 * @author Vico @vicocotea
 * original filter https://github.com/evanw/glfx.js/blob/master/src/filters/blur/tiltshift.js by Evan Wallace : http://madebyevan.com/
 */

/**
 * A TiltShift Filter. Manages the pass of both a TiltShiftXFilter and TiltShiftYFilter.
 * 
 * @class TiltShiftFilter
 * @constructor
 */
PIXI.TiltShiftFilter = function()
{
    this.tiltShiftXFilter = new PIXI.TiltShiftXFilter();
    this.tiltShiftYFilter = new PIXI.TiltShiftYFilter();
    this.tiltShiftXFilter.updateDelta();
    this.tiltShiftXFilter.updateDelta();

    this.passes = [this.tiltShiftXFilter, this.tiltShiftYFilter];
};

PIXI.TiltShiftFilter.prototype.constructor = PIXI.TiltShiftFilter;

/**
 * The strength of the blur.
 *
 * @property blur
 * @type Number
 */
Object.defineProperty(PIXI.TiltShiftFilter.prototype, 'blur', {
    get: function() {
        return this.tiltShiftXFilter.blur;
    },
    set: function(value) {
        this.tiltShiftXFilter.blur = this.tiltShiftYFilter.blur = value;
    }
});

/**
 * The strength of the gradient blur.
 *
 * @property gradientBlur
 * @type Number
 */
Object.defineProperty(PIXI.TiltShiftFilter.prototype, 'gradientBlur', {
    get: function() {
        return this.tiltShiftXFilter.gradientBlur;
    },
    set: function(value) {
        this.tiltShiftXFilter.gradientBlur = this.tiltShiftYFilter.gradientBlur = value;
    }
});

/**
 * The Y value to start the effect at.
 *
 * @property start
 * @type Number
 */
Object.defineProperty(PIXI.TiltShiftFilter.prototype, 'start', {
    get: function() {
        return this.tiltShiftXFilter.start;
    },
    set: function(value) {
        this.tiltShiftXFilter.start = this.tiltShiftYFilter.start = value;
    }
});

/**
 * The Y value to end the effect at.
 *
 * @property end
 * @type Number
 */
Object.defineProperty(PIXI.TiltShiftFilter.prototype, 'end', {
    get: function() {
        return this.tiltShiftXFilter.end;
    },
    set: function(value) {
        this.tiltShiftXFilter.end = this.tiltShiftYFilter.end = value;
    }
});