Beispiel #1
0
 public TreeOptions()
 {
     rendermode        = RenderMode.Walker;
     treealignment     = TreeAlignmentEnum.Middle;
     marginhorizontal  = 20;
     marginvertical    = 20;
     paddinghorizontal = 0;
     paddingvertical   = 5;
     tracehorizontal   = 3;
     tracevertical     = 10;
     backgroundcolor   = Color.White;
     labelfont         = new FontAndColor(DefaultFont(), Color.Black);
     lexicalfont       = new FontAndColor(DefaultFont(), Color.Red);
     highlightcolor    = Color.Blue;
     antialias         = true;
     linestyle         = new PenStyle(Color.Black, 1.0f, DashStyle.Solid, ArrowStyle.None);
     tracestyle        = new PenStyle(Color.Black, 1.0f, DashStyle.Dot, ArrowStyle.LittleArrow);
     tracemode         = TraceStyle.Line;
 }
Beispiel #2
0
 public TreeOptions()
 {
     rendermode = RenderMode.Walker;
     treealignment = TreeAlignmentEnum.Middle;
     marginhorizontal = 20;
     marginvertical = 20;
     paddinghorizontal = 0;
     paddingvertical = 5;
     tracehorizontal = 3;
     tracevertical = 10;
     backgroundcolor = Color.White;
     labelfont = new FontAndColor(DefaultFont(), Color.Black);
     lexicalfont = new FontAndColor(DefaultFont(), Color.Red);
     highlightcolor = Color.Blue;
     antialias = true;
     linestyle = new PenStyle(Color.Black, 1.0f, DashStyle.Solid, ArrowStyle.None);
     tracestyle = new PenStyle(Color.Black, 1.0f, DashStyle.Dot, ArrowStyle.LittleArrow);
     tracemode = TraceStyle.Line;
 }