#

API Documentation for: NEXT
Show: Inherited Protected Private Deprecated

# Graphics.RoundRect Class

Defined in: `Graphics.RoundRect:2146`
Module: EaselJS

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

## Constructor

### `Graphics.RoundRect`

(

- `x`
- `y`
- `w`
- `h`
- `radiusTL`
- `radiusTR`
- `radiusBR`
- `radiusBL`

)

Defined in `Graphics.RoundRect:2146`

#### Parameters:

- `x` Number
- `y` Number
- `w` Number
- `h` Number
- `radiusTL` Number
- `radiusTR` Number
- `radiusBR` Number
- `radiusBL` Number

- Index
- Methods
- Properties

## Item Index

### Methods

- exec

### Properties

- h
- radiusBL
- radiusBR
- radiusTL
- radiusTR
- w
- x
- y

## Methods

### `exec`

(

- `ctx`

)

Defined in `exec:2191`

Execute the Graphics command in the provided Canvas context.

#### Parameters:

- `ctx` CanvasRenderingContext2D

  The canvas rendering context

## Properties

### `h`

Number

Defined in `h:2171`

### `radiusBL`

Number

Defined in `radiusBL:2187`

### `radiusBR`

Number

Defined in `radiusBR:2183`

### `radiusTL`

Number

Defined in `radiusTL:2175`

### `radiusTR`

Number

Defined in `radiusTR:2179`

### `w`

Number

Defined in `w:2167`

### `x`

Number

Defined in `x:2159`

### `y`

Number

Defined in `y:2163`