Class: xrx.vml.Ellipse

xrx.vml. Ellipse

(private) new xrx.vml.Ellipse(The)

VML rendering class representing an ellipse.
Parameters:
Name Type Description
The HTMLElement HTML element.
Source:

Extends

Members

xrx.vml.Ellipse#element_

Inherited From:
Source:

Methods

(static) xrx.vml.Ellipse.create(canvas)

Creates a new ellipse.
Parameters:
Name Type Description
canvas xrx.vml.Canvas The parent canvas object.
Source:

xrx.vml.Ellipse#draw(cx, cy, rx, ry, fillColor, fillOpacity, strokeColor, strokeWidth)

Draws this ellipse on the canvas.
Parameters:
Name Type Description
cx number X-coordinate of the ellipse's center point.
cy number Y-coordinate of the ellipse's center point.
rx number Major-radius of the ellipse.
ry number Minor-radius of the ellipse.
fillColor string The fill color.
fillOpacity number Opacity of the fill color.
strokeColor string The stroke color.
strokeWidth number The stroke width.
Source:

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
cx number The X coordinate of the centre point.
cy number The Y coordinate of the centre point.
Source:

xrx.vml.Ellipse#setFillColor(color)

Sets the fill color of the stylable element.
Parameters:
Name Type Description
color string The fill color.
Inherited From:
Source:

xrx.vml.Ellipse#setFillOpacity(factor)

Sets the fill opacity of the stylable element.
Parameters:
Name Type Description
factor number The fill opacity.
Inherited From:
Source:

xrx.vml.Ellipse#setRadiusX(rx)

Sets the ellipse's major-axis radius.
Parameters:
Name Type Description
rx number The radius.
Source:

xrx.vml.Ellipse#setRadiusY(ry)

Sets the ellipse's minor-axis radius.
Parameters:
Name Type Description
ry number The radius.
Source:

xrx.vml.Ellipse#setStrokeColor(color)

Sets the stroke color of the stylable element.
Parameters:
Name Type Description
color string The stroke color.
Inherited From:
Source:

xrx.vml.Ellipse#setStrokeWidth(width)

Sets the stroke width of the stylable element.
Parameters:
Name Type Description
width number The stroke width.
Inherited From:
Source:

(private) xrx.vml.Ellipse#strokeAndFill_()

Inherited From:
Source: