Property | Type | Description | |
---|---|---|---|
handles | List |
||
lineColor | Color | ||
sourceAnchor | EdgeAnchorHandle, | ||
targetAnchor | EdgeAnchorHandle, | ||
targetId | string | ||
typeId | int |
Method | Description | |
---|---|---|
Draw ( DiagramContext, context ) : void | ||
DrawHandle ( DiagramContext, context ) : void | ||
GetDragTracker ( ) : DiagramDragTracker, | ||
GetEdgeHandles ( ) : EdgeHandle[], | ||
GetHandles ( ) : DiagramHandle[], | ||
HitTest ( DiagramContext, context, Vector2 position ) : DiagramElement | ||
Log ( string text ) : void | ||
LogError ( string text ) : void | ||
SetSource ( DiagramNode, node ) : void | ||
SetTarget ( DiagramNode, node ) : void | ||
UpdateAnchor ( DiagramContext, context ) : void |
Method | Description | |
---|---|---|
DrawAnchor ( Vector2 destAnchorPos, float angle, |
||
GetAnchorPos ( Vector2 pointA, Rect wr2, Vector2 pointB ) : Vector2 | ||
calcPosition ( Vector2 topLeft, Vector2 bottomRight, Vector2 pointA ) : float | ||
drawLine ( Vector2 pointA, Vector2 pointB, Color color, bool mouse, |
public Draw ( DiagramContext, context ) : void | ||
context | DiagramContext, | |
return | void |
public DrawHandle ( DiagramContext, context ) : void | ||
context | DiagramContext, | |
return | void |
public GetDragTracker ( ) : DiagramDragTracker, | ||
return | DiagramDragTracker, |
public HitTest ( DiagramContext, context, Vector2 position ) : DiagramElement | ||
context | DiagramContext, | |
position | Vector2 | |
return | DiagramElement |
public SetSource ( DiagramNode, node ) : void | ||
node | DiagramNode, | |
return | void |
public SetTarget ( DiagramNode, node ) : void | ||
node | DiagramNode, | |
return | void |
public UpdateAnchor ( DiagramContext, context ) : void | ||
context | DiagramContext, | |
return | void |