public void DrawBackground() { Rect canvasRect = GraphDrawEditor.Instance.CanvasRect; EditorTools.DrawBox(canvasRect, StyleSheet.Styles.gridBg); EditorTools.DrawBox(canvasRect, StyleSheet.Styles.gridBorder); }
public void DrawOutPortBg() { var outPortRect = new Rect(viewRect.xMin, viewRect.yMax - 4, viewRect.width, 12); EditorTools.DrawBox(outPortRect, StyleSheet.Styles.nodeOutPortBg); }