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

Method cubicCurveTo

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

* Cubic Beizer Curve * @param {number} cax - Control point A x * @param {number} cay - Control point A y * @param {number} cbx - Control point B x * @param {number} cby - Control point B y * @param {number} ax - Anchor x * @param {number} ay - Anchor y

(cax:number,
      cay:number,
      cbx:number,
      cby:number,
      ax:number,
      ay:number)

Source from the content-addressed store, hash-verified

84 * @param {number} ay - Anchor y
85 */
86 public cubicCurveTo(cax:number,
87 cay:number,
88 cbx:number,
89 cby:number,
90 ax:number,
91 ay:number):void {
92
93 this._evaluateBoundingBox(cax,cay);
94 this._evaluateBoundingBox(cbx,cby);
95 this._evaluateBoundingBox(ax,ay);
96 this._callDrawMethod('cubicCurveTo', [cax, cay, cbx, cby, ax, ay]);
97 }
98
99 /**
100 * Set line style

Callers

nothing calls this directly

Calls 2

_evaluateBoundingBoxMethod · 0.95
_callDrawMethodMethod · 0.95

Tested by

no test coverage detected