[]
Paints a chord (a region bounded by the intersection of an ellipse and a line segment, called a secant). The chord is outlined by using the current pen and filled by using the current brush.
public virtual void PaintChord(Rectangle rectangle, Point firstRadial, Point secondRadial)
Type | Name | Description |
---|---|---|
Rectangle | rectangle | A Rectangle indicates the bounds of the ellipse. |
Point | firstRadial | A Point indicates the endpoint of the first radial. |
Point | secondRadial | A Point indicates the endpoint of the second radial. |
The curve of the chord is defined by an ellipse that fits the specified bounding rectangle. The curve begins at the point where the ellipse intersects the first radial and extends counterclockwise to the point where the ellipse intersects the second radial. The chord is closed by drawing a line from the intersection of the first radial and the curve to the intersection of the second radial and the curve.
If the starting point and ending point of the curve are the same, a complete ellipse is drawn.
Type | Condition |
---|---|
SystemErrorException |