Class: EndpointFunction
端点:函数
Hierarchy
↳
EndpointFunction
Table of contents
Constructors
Properties
Methods
Constructors
constructor
new EndpointFunction(fn
)
Parameters
Name | Type |
---|---|
fn | Function |
Overrides
Properties
className
className: string
Overrides
fn
fn: Function
target
Optional
target: DisplayObject
被连接的对象, 可能为空
Inherited from
Methods
isDisplayObjectTarget
isDisplayObjectTarget(): boolean
Returns
boolean
Inherited from
Endpoint.isDisplayObjectTarget
isNodeTarget
isNodeTarget(): any
Returns
any
Inherited from
toJSON
toJSON(): { className
: string
; x
: any
; y
: any
} & EndpointFunction
Returns
{ className
: string
; x
: any
; y
: any
} & EndpointFunction