add(core): Add Path.rotate(...) function analogue to Point.rotate(...)
This commit is contained in:
parent
7e694de977
commit
849563d1ec
4 changed files with 119 additions and 1 deletions
|
@ -701,7 +701,7 @@ export function __addNonEnumProp(obj, name, value) {
|
|||
* @param {string} param - The name of the parameter to use in the logs
|
||||
* @param {string} method - The name of the method to use in the logs
|
||||
* @param {object} log - A logging object
|
||||
* @return {bool} result - True if it is a valid coordinate, false when not
|
||||
* @return {number} the given value parameter, converted to a number if possible
|
||||
*/
|
||||
export function __asNumber(value, param, method, log) {
|
||||
if (typeof value === 'number') return value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue