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

Method drawPath

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

* Executes a list of drawing commands with their data given in the data array * @param {Array } commands - Commands by index * @param {Array } data - List of data * @param {string} winding - evenOdd or nonZero

(commands:Array<number>, data:Array<number>, winding:string = "evenOdd")

Source from the content-addressed store, hash-verified

186 * @param {string} winding - evenOdd or nonZero
187 */
188 public drawPath(commands:Array<number>, data:Array<number>, winding:string = "evenOdd"):void {
189 /** TODO: Evaluate bounding box **/
190 this._callDrawMethod('drawPath', [commands, data, winding]);
191 }
192
193 /**
194 * Fill next shape with solid color

Callers

nothing calls this directly

Calls 1

_callDrawMethodMethod · 0.95

Tested by

no test coverage detected