Example #1
0
 public IKNode CreateInitializedKNode()
 {
     IKNode layoutNode = new KNode();
     KShapeLayout shapeLayout = new KShapeLayout();
     shapeLayout.Insets = new KInsets();
     layoutNode.KShapeLayout = shapeLayout;
     return layoutNode;
 }
Example #2
0
 public KPort CreateInitializedPort()
 {
     KPort port = new KPort();
     KShapeLayout shapeLayout = new KShapeLayout();
     shapeLayout.Insets = new KInsets();
     port.KShapeLayout = shapeLayout;
     return port;
 }
Example #3
0
 public KLabel CreateInitializedKLabel(IKNode parent)
 {
     KLabel label = new KLabel();
     KShapeLayout shapeLayout = new KShapeLayout();
     label.KShapeLayout = shapeLayout;
     label.Text = "";
     label.Parent = parent;
     return label;
 }