#

API Documentation for: NEXT
Show: Inherited Protected Private Deprecated

# Graphics.StrokeStyle Class

Defined in: `Graphics.StrokeStyle:2057`
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:2057`

#### 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:2085`

Execute the Graphics command in the provided Canvas context.

#### Parameters:

- `ctx` CanvasRenderingContext2D

  The canvas rendering context

## Properties

### `caps`

String

Defined in `caps:2071`

One of: butt, round, square

### `joints`

String

Defined in `joints:2076`

One of: round, bevel, miter

### `miterLimit`

Number

Defined in `miterLimit:2081`

### `width`

Number

Defined in `width:2067`