Calculate a single point for a quadratic bezier curve.
Utility function used by quadraticBezierCurve.
Ignored from docs since it is not directly exposed.
Name | Type | Attribute | Description |
---|---|---|---|
n1 | first number |
||
n2 | second number |
||
perc | percentage |
{ "comment": "/**\n * Calculate a single point for a quadratic bezier curve.\n * Utility function used by quadraticBezierCurve.\n * Ignored from docs since it is not directly exposed.\n *\n * @ignore\n * @private\n * @param {number} n1 - first number\n * @param {number} n2 - second number\n * @param {number} perc - percentage\n * @return {number} the result\n *\n */", "meta": { "range": [ 2898, 2988 ], "filename": "buildRoundedRectangle.js", "lineno": 92, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\graphics\\webgl\\utils", "code": { "id": "astnode100015898", "name": "getPt", "type": "FunctionDeclaration", "paramnames": [ "n1", "n2", "perc" ] }, "vars": { "diff": "getPt~diff" } }, "description": "Calculate a single point for a quadratic bezier curve.
", "ignore": true, "access": "private", "params": [ { "type": { "names": [ "number" ] }, "description": "
Utility function used by quadraticBezierCurve.
Ignored from docs since it is not directly exposed.first number
", "name": "n1" }, { "type": { "names": [ "number" ] }, "description": "second number
", "name": "n2" }, { "type": { "names": [ "number" ] }, "description": "percentage
", "name": "perc" } ], "returns": [ { "type": { "names": [ "number" ] }, "description": "the result
" } ], "name": "getPt", "longname": "getPt", "kind": "function", "scope": "global", "___id": "T000002R001445", "___s": true, "filepath": "core\\graphics\\webgl\\utils\\buildRoundedRectangle.js" }