MCPcopy Index your code
hub / github.com/jabbany/CommentCoreLibrary / drawRect

Method drawRect

src/scripting/api/Display/Graphics.ts:130–134  ·  view source on GitHub ↗

* Draw a rectangle * @param {number} x - x coordinate * @param {number} y - y coordinate * @param {number} w - width * @param {number} h - height

(x:number, y:number, w:number, h:number)

Source from the content-addressed store, hash-verified

128 * @param {number} h - height
129 */
130 public drawRect(x:number, y:number, w:number, h:number):void {
131 this._evaluateBoundingBox(x,y);
132 this._evaluateBoundingBox(x + w,y + h);
133 this._callDrawMethod('drawRect', [x, y, w, h]);
134 }
135
136 /**
137 * Draws a circle

Callers

nothing calls this directly

Calls 2

_evaluateBoundingBoxMethod · 0.95
_callDrawMethodMethod · 0.95

Tested by

no test coverage detected