Exemplo n.º 1
0
 private void BindStyle()
 {
     DrawingStyle.SanityCheck(style, ToolManager.GetStylePreset("Chrono"));
     style.Bind(styleHelper, "Bicolor", "color");
     style.Bind(styleHelper, "Font", "font size");
     style.Bind(styleHelper, "Clock", "clock");
 }
Exemplo n.º 2
0
 private void BindStyle()
 {
     DrawingStyle.SanityCheck(style, ToolManager.GetStylePreset("Rectangle"));
     style.Bind(styleHelper, "Color", "color");
     style.Bind(styleHelper, "LineSize", "line size");
     style.Bind(styleHelper, "PenShape", "pen shape");
 }
Exemplo n.º 3
0
 private void BindStyle()
 {
     DrawingStyle.SanityCheck(style, ToolManager.GetStylePreset("Plane"));
     style.Bind(styleHelper, "Color", "color");
     style.Bind(styleHelper, "GridDivisions", "divisions");
     style.Bind(styleHelper, "Perspective", "perspective");
 }
Exemplo n.º 4
0
 private void BindStyle()
 {
     DrawingStyle.SanityCheck(style, ToolManager.GetStylePreset("Line"));
     style.Bind(styleHelper, "Color", "color");
     style.Bind(styleHelper, "LineSize", "line size");
     style.Bind(styleHelper, "LineShape", "line shape");
     style.Bind(styleHelper, "LineEnding", "arrows");
 }
 private void BindStyle()
 {
     DrawingStyle.SanityCheck(style, ToolManager.GetStylePreset("DistortionGrid"));
     style.Bind(styleHelper, "Color", "color");
 }
Exemplo n.º 6
0
 private void BindStyle()
 {
     DrawingStyle.SanityCheck(style, ToolManager.GetStylePreset("CrossMark"));
     style.Bind(styleHelper, "Color", "back color");
 }
Exemplo n.º 7
0
 private void BindStyle()
 {
     DrawingStyle.SanityCheck(style, ToolManager.GetStylePreset("Angle"));
     style.Bind(styleHelper, "Bicolor", "line color");
 }
Exemplo n.º 8
0
 private void BindStyle()
 {
     DrawingStyle.SanityCheck(style, ToolManager.GetStylePreset("Label"));
     style.Bind(styleHelper, "Bicolor", "back color");
     style.Bind(styleHelper, "Font", "font size");
 }