#

API Documentation for: NEXT
Show: Inherited Protected Private Deprecated

# Graphics.StrokeDash Class

Defined in: `Graphics.StrokeDash:2110`
Module: EaselJS

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

## Constructor

### `Graphics.StrokeDash`

(

- `[segments]`
- `[offset=0]`

)

Defined in `Graphics.StrokeDash:2110`

#### Parameters:

- `[segments]` Array optional
- `[offset=0]` Number optional

- Index
- Methods
- Properties

## Item Index

### Methods

- exec

### Properties

- EMPTY_SEGMENTS static
- offset
- segments

## Methods

### `exec`

(

- `ctx`

)

Defined in `exec:2125`

#### Parameters:

- `ctx` CanvasRenderingContext2D

## Properties

### `EMPTY_SEGMENTS`

Array protected final static

Defined in `EMPTY_SEGMENTS:2138`

The default value for segments (ie. no dash).

### `offset`

Number

Defined in `offset:2121`

### `segments`

Array

Defined in `segments:2117`