参考 createNumberDict()

createNumberDict()

Creates a new instance of p5.NumberDict using the key-value pair or object you provide.

示例

语法

createNumberDict(key, value)
createNumberDict(object)

参数

key
Number:
value
Number:
object
Object:

object

Returns

p5.NumberDict:
Notice any errors or typos? Please let us know. Please feel free to edit src/data/p5.TypedDict.js and open a pull request!

相关参考