(private) new xrx.vml.Circle(The)
VML rendering class representing a circle.
Parameters:
| Name | Type | Description |
|---|---|---|
The |
HTMLElement | HTML element. |
Extends
Members
-
xrx.vml.Circle#element_
-
- Inherited From:
- Source:
Methods
-
(static) xrx.vml.Circle.create(canvas)
-
Creates a new circle.
Parameters:
Name Type Description canvasxrx.vml.Canvas The parent canvas object. -
xrx.vml.Circle#draw(cx, cy, r, fillColor, fillOpacity, strokeColor, strokeWidth)
-
Draws the circle on the canvas.
Parameters:
Name Type Description cxnumber x coordinate of the circle's center point. cynumber y coordinate of the circle's center point. rnumber Radius of the circle. fillColorstring The fill color. fillOpacitynumber Opacity of the fill color. strokeColorstring The stroke color. strokeWidthnumber The stroke width. -
xrx.vml.Circle#getElement() → {HTMLElement}
-
Returns the HTML element held by the Raphael object.
- Inherited From:
- Source:
Returns:
The HTML element.- Type
- HTMLElement
-
xrx.vml.Circle#setCenter(cx, cy)
-
Sets the center point of this circle.
Parameters:
Name Type Description cxnumber The x coordinate of the center point. cynumber The y coordinate of the center point. -
xrx.vml.Circle#setFillColor(color)
-
Sets the fill color of the stylable element.
Parameters:
Name Type Description colorstring The fill color. - Inherited From:
- Source:
-
xrx.vml.Circle#setFillOpacity(factor)
-
Sets the fill opacity of the stylable element.
Parameters:
Name Type Description factornumber The fill opacity. - Inherited From:
- Source:
-
xrx.vml.Circle#setRadius(r)
-
Sets the radius of the circle.
Parameters:
Name Type Description rnumber The radius. -
xrx.vml.Circle#setStrokeColor(color)
-
Sets the stroke color of the stylable element.
Parameters:
Name Type Description colorstring The stroke color. - Inherited From:
- Source:
-
xrx.vml.Circle#setStrokeWidth(width)
-
Sets the stroke width of the stylable element.
Parameters:
Name Type Description widthnumber The stroke width. - Inherited From:
- Source:
-
(private) xrx.vml.Circle#strokeAndFill_()
-
- Inherited From:
- Source: