piskel/zoom/js/selection/RectangularSelection.js

9 lines
260 B
JavaScript
Raw Normal View History

2013-10-30 01:21:57 +04:00
(function () {
var ns = $.namespace("pskl.selection");
ns.RectangularSelection = function (x0, y0, x1, y1) {
this.pixels = pskl.PixelUtils.getRectanglePixels(x0, y0, x1, y1);
};
pskl.utils.inherit(ns.RectangularSelection, ns.BaseSelection);
})();