@@ -49,9 +49,11 @@ public static Shape CreateTriangle(VectorInt v1, VectorInt v2, VectorInt v3, Col
4949 public static Shape CreateTriangle ( int x1 , int y1 , int x2 , int y2 , int x3 , int y3 , Color color , int lineWidth = 0 , Color ? lineColor = null )
5050 => CreateTriangle ( ( x1 , y1 ) , ( x2 , y2 ) , ( x3 , y3 ) , color , lineWidth , lineColor ) ;
5151
52+ [ Obsolete ( "will be deleted in 4.0.0" ) ]
5253 public static Shape CreateEllipse ( VectorInt v1 , VectorInt v2 , Color color , int lineWidth = 0 , Color ? lineColor = null )
5354 => CreateEllipse ( v1 . X , v1 . Y , v2 . X , v2 . Y , color , lineWidth , lineColor ) ;
5455
56+ [ Obsolete ( "will be deleted in 4.0.0" ) ]
5557 public static Shape CreateEllipse ( int x1 , int y1 , int x2 , int y2 , Color color , int lineWidth = 0 , Color ? lineColor = null )
5658 {
5759 if ( x1 > x2 ) Swap ( ref x1 , ref x2 ) ;
@@ -71,6 +73,7 @@ public static Shape CreateEllipse(int x1, int y1, int x2, int y2, Color color, i
7173 return new Shape ( color , ShapeType . Polygon , lineWidth , lineColor , vertices ) ;
7274 }
7375
76+ [ Obsolete ( "will be deleted in 4.0.0" ) ]
7477 public static Shape CreatePolygon ( Color color , int lineWidth = 0 , Color ? lineColor = null , params VectorInt [ ] vertices )
7578 => new ( color , ShapeType . Polygon , lineWidth , lineColor , vertices ) ;
7679
0 commit comments