#

API Documentation for: 0.8.1
Show: Inherited Protected Private Deprecated

# Graphics.StrokeStyle Class

Defined in: `Graphics.StrokeStyle:2062`
Module: EaselJS

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

## Constructor

### `Graphics.StrokeStyle`

(

- `width`
- `[caps=butt]`
- `[joints=miter]`
- `[miterLimit=10]`
- `[ignoreScale=false]`

)

Defined in `Graphics.StrokeStyle:2062`

#### Parameters:

- `width` Number
- `[caps=butt]` String optional
- `[joints=miter]` String optional
- `[miterLimit=10]` Number optional
- `[ignoreScale=false]` Boolean optional

- Index
- Methods
- Properties

## Item Index

### Methods

- exec

### Properties

- caps
- joints
- miterLimit
- width

## Methods

### `exec`

(

- `ctx`

)

Defined in `exec:2090`

#### Parameters:

- `ctx` CanvasRenderingContext2D

## Properties

### `caps`

String

Defined in `caps:2076`

One of: butt, round, square

### `joints`

String

Defined in `joints:2081`

One of: round, bevel, miter

### `miterLimit`

Number

Defined in `miterLimit:2086`

### `width`

Number

Defined in `width:2072`