Skip to content

Instantly share code, notes, and snippets.

@tecnocrata
Created October 24, 2012 20:33
Show Gist options
  • Select an option

  • Save tecnocrata/3948690 to your computer and use it in GitHub Desktop.

Select an option

Save tecnocrata/3948690 to your computer and use it in GitHub Desktop.
Creating a Circle by Code
private void CreateSymbolO(Grid board)
{
var O = new Ellipse();
O.Width = 70;
O.Height = 70;
O.Fill = new SolidColorBrush(new Color() { A = 255, R = 0, G = 255, B = 4 });
Grid.SetRow(O, 0);
Grid.SetColumn(O, 1);
board.Children.Add(O);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment