Beispiel #1
0
 /// <summary>
 /// Draw element to all Graphics objects
 /// </summary>
 /// <param name="areaColor">The area/color to draw</param>
 private void DrawToCanvas(AreaColor areaColor)
 {
     DrawToCanvas(areaColor.Area, areaColor.Color);
 }
Beispiel #2
0
 /// <summary>
 /// Draw to buffer
 /// </summary>
 /// <param name="areaColor">Area/color to put in draw buffer</param>
 public void Draw(AreaColor areaColor)
 {
     drawUpdate.Add(areaColor);
     AllElements(areaColor);
 }
Beispiel #3
0
 /// <summary>
 /// Add/remove area/color to/from the list of all elements
 /// </summary>
 /// <param name="areaColor">Area/color to add/remove</param>
 private void AllElements(AreaColor areaColor)
 {
     AllElements(areaColor.Area, areaColor.Color);
 }