Path2DEllipse Method (Double, Double, Double, Double, Double, Double, Double, Boolean) |
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).
Namespace: Aspose.Html.Dom.CanvasAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntaxpublic void Ellipse(
double x,
double y,
double radiusX,
double radiusY,
double rotation,
double startAngle,
double endAngle,
bool anticlockwise
)
Public Sub Ellipse (
x As Double,
y As Double,
radiusX As Double,
radiusY As Double,
rotation As Double,
startAngle As Double,
endAngle As Double,
anticlockwise As Boolean
)
public:
virtual void Ellipse(
double x,
double y,
double radiusX,
double radiusY,
double rotation,
double startAngle,
double endAngle,
bool anticlockwise
) sealed
abstract Ellipse :
x : float *
y : float *
radiusX : float *
radiusY : float *
rotation : float *
startAngle : float *
endAngle : float *
anticlockwise : bool -> unit
override Ellipse :
x : float *
y : float *
radiusX : float *
radiusY : float *
rotation : float *
startAngle : float *
endAngle : float *
anticlockwise : bool -> unit
Parameters
- x
- Type: SystemDouble
The x axis of the coordinate for the ellipse's center. - y
- Type: SystemDouble
The y axis of the coordinate for the ellipse's center. - radiusX
- Type: SystemDouble
The ellipse's major-axis radius. - radiusY
- Type: SystemDouble
The ellipse's minor-axis radius. - rotation
- Type: SystemDouble
The rotation for this ellipse, expressed in radians. - startAngle
- Type: SystemDouble
The starting point, measured from the x axis, from which it will be drawn, expressed in radians. - endAngle
- Type: SystemDouble
The end ellipse's angle to which it will be drawn, expressed in radians. - anticlockwise
- Type: SystemBoolean
An optional boolean which, if true, draws the ellipse anticlockwise (counter-clockwise), otherwise in a clockwise direction.
Implements
ICanvasPathMethodsEllipse(Double, Double, Double, Double, Double, Double, Double, Boolean)
See Also