Parameters
- left
- idx
Return Value
by default, a GoPort
public virtual GoObject CreatePort(bool left, int idx) { GoPort p = new GoPort(); p.Size = new SizeF(3, 5); p.Style = GoPortStyle.None; if (left) { p.FromSpot = MiddleLeft; p.ToSpot = MiddleLeft; } else { p.FromSpot = MiddleRight; p.ToSpot = MiddleRight; } return p; }