参考 toString()

toString()

Returns a string representation of a vector.

Calling toString() is useful for printing vectors to the console while debugging.

示例

Returns

String: string representation of the vector.
Notice any errors or typos? Please let us know. Please feel free to edit src/math/p5.Vector.js and open a pull request!

相关参考