src/video/webgl/webgl_renderer.js
function (x, y, width, height) {
            var points = this._glPoints;
            points[0].x = x;
            points[0].y = y;
            points[1].x = x + width;
            points[1].y = y;
            points[2].x = x + width;
            points[2].y = y + height;
            points[3].x = x;
            points[3].y = y + height;
            this.compositor.drawLine(points, 4);
        }
function (x, y, width, height) {
            var points = this._glPoints;
            points[0].x = x;
            points[0].y = y;
            points[1].x = x + width;
            points[1].y = y;
            points[2].x = x + width;
            points[2].y = y + height;
            points[3].x = x;
            points[3].y = y + height;
            this.compositor.drawLine(points, 4);
        }
function ( x , y , width , height ) { var points = this . _glPoints ; points [ 0 ] . x = x ; points [ 0 ] . y = y ; points [ 1 ] . x = x + width ; points [ 1 ] . y = y ; points [ 2 ] . x = x + width ; points [ 2 ] . y = y + height ; points [ 3 ] . x = x ; points [ 3 ] . y = y + height ; this . compositor . drawLine ( points , 4 ) ; }
Draw a stroke rectangle at the specified coordinates
@name strokeRect
@memberOf me.WebGLRenderer.prototype
@function
@param {Number} x
@param {Number} y
@param {Number} width
@param {Number} height
Draw a stroke rectangle at the specified coordinates