SourceClass()
SourceClass = (
id
:string
,specification
: SourceSpecification | CanvasSourceSpecification,dispatcher
: Dispatcher,eventedParent
: Evented) => Source
定义于: src/source/source.ts:129
用于工厂模式的Source类通用定义
参数
参数 | 类型 |
---|---|
id | string |
specification | SourceSpecification | CanvasSourceSpecification |
dispatcher | Dispatcher |
eventedParent | Evented |
返回值
Source