How to add Rectangle inside rectange and rectange inside ellipse (Go iconic Node)
I did a rectangle inside a rectangle inside an ellipse. maybe not what you were asking for, but you’ll see what I’m doing:
protected GoIconicNode CreateCustomIconic()
{
GoIconicNode n = new GoIconicNode();
n.Initialize(null, 0, "iconic");
GoDrawing t2 = new GoDrawing();
t2.Selectable = false;
GoDrawing tcirc = new GoDrawing(GoFigure.Circle);
tcirc.Bounds = new RectangleF(0f, 0f, 1f, 1f);
t2.InsertShape(0, tcirc);
GoDrawing t2c = new GoDrawing(GoFigure.Rectangle);
t2c.Bounds = new RectangleF(.15f, .15f, .7f, .7f);
t2.InsertShape(0, t2c);
t2c = new GoDrawing(GoFigure.Rectangle);
t2c.Bounds = new RectangleF(.25f, .25f, .5f, .5f);
t2.InsertShape(0, t2c);
t2.ReshapablePoints = false;
t2.Size = new SizeF(70, 70);
n.Icon = t2;
return n;
}