public Path AddConicCurve(
float x1,
float y1,
float x2,
float y2,
float x3,
float y3,
float weight
)Public Function AddConicCurve (
x1 As Single,
y1 As Single,
x2 As Single,
y2 As Single,
x3 As Single,
y3 As Single,
weight As Single
) As Pathpublic:
Path^ AddConicCurve(
float x1,
float y1,
float x2,
float y2,
float x3,
float y3,
float weight
)member AddConicCurve :
x1 : float32 *
y1 : float32 *
x2 : float32 *
y2 : float32 *
x3 : float32 *
y3 : float32 *
weight : float32 -> Path If the current figure is not empty or closed, the first point of the added curve will be connected to the last point of the figure.
If the weight is 1, the conic curve is equivalent to a parabolic (quadratic) Bézier curve. If the weight is less than 1, the curve is an elliptic arc, and if it's greater than 1, the curve is a hyperbolic arc.
This method transforms the conic curve into a cubic Bézier curve internally.
The coordinates of the specified points 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.
| ArgumentOutOfRangeException | weight must be a finite non-negative value. |