MCPcopy
hub / github.com/jabbany/CommentCoreLibrary / _callDrawMethod

Method _callDrawMethod

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

* Private method to call a drawing method * @param {number} method name - method name * @param {any} params - parameters to the method

(method:string, params:any)

Source from the content-addressed store, hash-verified

33 * @param {any} params - parameters to the method
34 */
35 private _callDrawMethod(method:string, params:any):void {
36 __pchannel('Runtime:CallMethod', {
37 'id': this._parent.getId(),
38 'context': 'graphics',
39 'method': method,
40 'params': params
41 });
42 }
43
44 /**
45 * Line to point

Callers 15

lineToMethod · 0.95
moveToMethod · 0.95
curveToMethod · 0.95
cubicCurveToMethod · 0.95
lineStyleMethod · 0.95
drawRectMethod · 0.95
drawCircleMethod · 0.95
drawEllipseMethod · 0.95
drawRoundRectMethod · 0.95
drawPathMethod · 0.95
beginFillMethod · 0.95
beginGradientFillMethod · 0.95

Calls 2

__pchannelFunction · 0.85
getIdMethod · 0.65

Tested by

no test coverage detected