blockly > blockRendering > OutputConnection > (构造函数)
blockRendering.OutputConnection.(constructor)
构造 OutputConnection
类的新实例
Signature:
constructor(constants: ConstantProvider, connectionModel: RenderedConnection);
参数
参数 | 类型 | 说明 |
---|---|---|
constants | ConstantProvider | 呈现常量提供程序。 |
connectionModel | RenderedConnection | 它所代表的块上的连接对象。 |