Northwoods.Go Assembly > Northwoods.Go Namespace > GoBasicNode Class : CreateShape Method |
protected virtual GoShape CreateShape(GoPort p) { // create the bigger circle/ellipse around and behind the port GoShape e = new GoEllipse(); SizeF psize = p.Size; e.Size = new SizeF(psize.Width + 2*7, psize.Height + 2*7); e.Selectable = false; e.Resizable = false; e.Reshapable = false; e.Brush = GoShape.Brushes_White; return e; }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2