#

API Docs for: 3.10.3
Show: Inherited Protected Private Deprecated

# CanvasRect Class

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

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

- Index
- Methods
- Properties

## Item Index

### Methods

- _draw

### Properties

- _type

## Methods

### `_draw`

() private

Defined in `graphics/js/CanvasRect.js:27`

Draws the shape.

## Properties

### `_type`

String private

Defined in `graphics/js/CanvasRect.js:18`

Indicates the type of shape