Esempio n. 1
0
 public static void InvertedTriangle(ILowLevelGraphSurface surface, Brush brush, Pen pen, double radius,
                                     double x, double y) => surface.RegularPolygon(x, y, 3, 1, brush, pen, radius, Math.PI / 2.0);
Esempio n. 2
0
 public static void Square(ILowLevelGraphSurface surface, Brush brush, Pen pen, double radius,
                           double x, double y) => surface.RegularPolygon(x, y, 4, 1, brush, pen, radius, Math.PI / 4.0);
Esempio n. 3
0
 public static void Star(ILowLevelGraphSurface surface, Brush brush, Pen pen, double radius,
                         double x, double y) => surface.RegularPolygon(x, y, 5, 2, brush, pen, radius, -Math.PI / 2.0);
Esempio n. 4
0
 public static void Diamond(ILowLevelGraphSurface surface, Brush brush, Pen pen, double radius,
                            double x, double y) => surface.RegularPolygon(x, y, 4, 1, brush, pen, radius, 0.0);