#

API Docs for: 3.10.3
Show: Inherited Protected Private Deprecated

# CanvasEllipse Class

Defined in: `graphics/js/CanvasEllipse.js:1`
Module: graphics

Canvas implementation of the `Ellipse` class. `CanvasEllipse` is not intended to be used directly. Instead, use the `Ellipse` class. If the browser lacks SVG capabilities but has Canvas capabilities, the `Ellipse` class will point to the `CanvasEllipse` class.

- Index
- Methods
- Properties
- Attributes

## Item Index

### Methods

- _draw

### Properties

- _type

### Attributes

- xRadius
- yRadius

## Methods

### `_draw`

() private

Defined in `graphics/js/CanvasEllipse.js:29`

Draws the shape.

## Properties

### `_type`

String private

Defined in `graphics/js/CanvasEllipse.js:20`

Indicates the type of shape

## Attributes

### `xRadius`

Number

Defined in `graphics/js/CanvasEllipse.js:45`

Horizontal radius for the ellipse.

### `yRadius`

Number readonly

Defined in `graphics/js/CanvasEllipse.js:68`

Vertical radius for the ellipse.