Beispiel #1
0
    /**
     * TODO
     */
    public ConnectionPointView(BaseNode node, ConnectionPointViewType type, float offset)
    {
        pointNode   = node;
        pointType   = type;
        pointOffset = offset;
        pointRect   = new Rect(0.0f, 0.0f, 10.0f, 20.0f);

        if (pointType == ConnectionPointViewType.In)
        {
            pointStyle = PatternEditorSkinModel.styleInPoint;
        }
        if (pointType == ConnectionPointViewType.Out)
        {
            pointStyle = PatternEditorSkinModel.styleOutPoint;
        }
    }
Beispiel #2
0
 /**
  * TODO
  */
 public ConnectionPointView(BaseNode node, ConnectionPointViewType type) : this(node, type, 0.0f)
 {
     // None
 }