(private) new xrx.vml.Ellipse(The)
VML rendering class representing an ellipse.
Parameters:
| Name | Type | Description |
|---|---|---|
The |
HTMLElement | HTML element. |
Extends
Members
-
xrx.vml.Ellipse#element_
-
- Inherited From:
- Source:
Methods
-
(static) xrx.vml.Ellipse.create(canvas)
-
Creates a new ellipse.
Parameters:
Name Type Description canvasxrx.vml.Canvas The parent canvas object. -
xrx.vml.Ellipse#draw(cx, cy, rx, ry, fillColor, fillOpacity, strokeColor, strokeWidth)
-
Draws this ellipse on the canvas.
Parameters:
Name Type Description cxnumber X-coordinate of the ellipse's center point. cynumber Y-coordinate of the ellipse's center point. rxnumber Major-radius of the ellipse. rynumber Minor-radius of the ellipse. fillColorstring The fill color. fillOpacitynumber Opacity of the fill color. strokeColorstring The stroke color. strokeWidthnumber The stroke width. -
xrx.vml.Ellipse#getElement() → {HTMLElement}
-
Returns the HTML element held by the Raphael object.
- Inherited From:
- Source:
Returns:
The HTML element.- Type
- HTMLElement
-
xrx.vml.Ellipse#setCenter(cx, cy)
-
Sets the center point of this ellipse.
Parameters:
Name Type Description cxnumber The X coordinate of the centre point. cynumber The Y coordinate of the centre point. -
xrx.vml.Ellipse#setFillColor(color)
-
Sets the fill color of the stylable element.
Parameters:
Name Type Description colorstring The fill color. - Inherited From:
- Source:
-
xrx.vml.Ellipse#setFillOpacity(factor)
-
Sets the fill opacity of the stylable element.
Parameters:
Name Type Description factornumber The fill opacity. - Inherited From:
- Source:
-
xrx.vml.Ellipse#setRadiusX(rx)
-
Sets the ellipse's major-axis radius.
Parameters:
Name Type Description rxnumber The radius. -
xrx.vml.Ellipse#setRadiusY(ry)
-
Sets the ellipse's minor-axis radius.
Parameters:
Name Type Description rynumber The radius. -
xrx.vml.Ellipse#setStrokeColor(color)
-
Sets the stroke color of the stylable element.
Parameters:
Name Type Description colorstring The stroke color. - Inherited From:
- Source:
-
xrx.vml.Ellipse#setStrokeWidth(width)
-
Sets the stroke width of the stylable element.
Parameters:
Name Type Description widthnumber The stroke width. - Inherited From:
- Source:
-
(private) xrx.vml.Ellipse#strokeAndFill_()
-
- Inherited From:
- Source: