public void Draw(PrimitiveBatch primitiveBatch) { PrimitiveBrush pb = new PrimitiveBrush(); pb.BorderAlignment = BorderAlignment.Center; pb.BorderThickness = 4; pb.BorderColor = Color.Red; pb.FillColor = Color.Transparent; primitiveBatch.DrawCircle(Vector2.Zero, Radius, pb, WorldTransform); }
public static void Draw(INode node, PrimitiveBatch primitiveBatch) { IPrimitive primitive = node as IPrimitive; if (primitive != null) { primitive.Draw(primitiveBatch); } for (int i = 0; i < node.Children.Count; i++) { Draw(node.Children[i], primitiveBatch); } }
public void Draw(PrimitiveBatch primitiveBatch) { }