0

How can I draw many circles with SharpDX

MichaeInsberg402 4 years ago updated by Kong Lee 3 years ago 206

Hi,

I want to draw many circles on the viewport.

Each circle should have a differnt color.

How can I do that.

I try it with the LineBuilder but then circle has many colors.

foreach (var _ in Lines.LineGeometry.Lines)
{
  var color = GetNewColor(); //Ttis method just return a clolor
  Lines.LineGeometry.Colors.Add(color);
  Lines.LineGeometry.Colors.Add(color);

Any suggestions?