blockly > blockRendering > NextConnection > (构造函数)

blockRendering.NextConnection.(constructor)

构造 NextConnection 类的新实例

Signature:

constructor(constants: ConstantProvider, connectionModel: RenderedConnection);

参数

参数 类型 说明
constants ConstantProvider 呈现常量提供程序。
connectionModel RenderedConnection 它所代表的块上的连接对象。