ICanvasPathMethods.Ellipse

Ellipse(double, double, double, double, double, double, double)

Adds an ellipse to the path which is centered at (x, y) position with the radii radiusX and radiusY starting at startAngle and ending at endAngle going in the given direction by anticlockwise (defaulting to clockwise).

public void Ellipse(double x, double y, double radiusX, double radiusY, double rotation, 
    double startAngle, double endAngle)
ParameterTypeDescription
xDoubleThe x axis of the coordinate for the ellipse’s center.
yDoubleThe y axis of the coordinate for the ellipse’s center.
radiusXDoubleThe ellipse’s major-axis radius.
radiusYDoubleThe ellipse’s minor-axis radius.
rotationDoubleThe rotation for this ellipse, expressed in radians.
startAngleDoubleThe starting point, measured from the x axis, from which it will be drawn, expressed in radians.
endAngleDoubleThe end ellipse’s angle to which it will be drawn, expressed in radians.

See Also


Ellipse(double, double, double, double, double, double, double, bool)

Adds an ellipse to the path which is centered at (x, y) position with the radii radiusX and radiusY starting at startAngle and ending at endAngle going in the given direction by anticlockwise (defaulting to clockwise).

public void Ellipse(double x, double y, double radiusX, double radiusY, double rotation, 
    double startAngle, double endAngle, bool anticlockwise)
ParameterTypeDescription
xDoubleThe x axis of the coordinate for the ellipse’s center.
yDoubleThe y axis of the coordinate for the ellipse’s center.
radiusXDoubleThe ellipse’s major-axis radius.
radiusYDoubleThe ellipse’s minor-axis radius.
rotationDoubleThe rotation for this ellipse, expressed in radians.
startAngleDoubleThe starting point, measured from the x axis, from which it will be drawn, expressed in radians.
endAngleDoubleThe end ellipse’s angle to which it will be drawn, expressed in radians.
anticlockwiseBooleanAn optional boolean which, if true, draws the ellipse anticlockwise (counter-clockwise), otherwise in a clockwise direction.

See Also