#

API Documentation for: 0.8.1
Show: Inherited Protected Private Deprecated

# Graphics.Rect Class

Defined in: `Graphics.Rect:1846`
Module: EaselJS

Graphics command object. See rect and append for more information.

## Constructor

### `Graphics.Rect`

(

- `x`
- `y`
- `w`
- `h`

)

Defined in `Graphics.Rect:1846`

#### Parameters:

- `x` Number
- `y` Number
- `w` Number
- `h` Number

- Index
- Methods
- Properties

## Item Index

### Methods

- exec

### Properties

- h
- w
- x
- y

## Methods

### `exec`

(

- `ctx`

)

Defined in `exec:1871`

#### Parameters:

- `ctx` CanvasRenderingContext2D

## Properties

### `h`

Number

Defined in `h:1867`

### `w`

Number

Defined in `w:1863`

### `x`

Number

Defined in `x:1855`

### `y`

Number

Defined in `y:1859`