public Path AddEllipse(
RectangleF bounds
)
Public Function AddEllipse (
bounds As RectangleF
) As Path
public:
Path^ AddEllipse(
RectangleF bounds
)
member AddEllipse :
bounds : RectangleF -> Path
The ellipse is added as a new closed figure.
The coordinates of the specified bounding rectangle are not validated here but in the moment of drawing the coordinates of the possibly transformed path points must fall into the bounds of an int value; otherwise, an OverflowException will be thrown.