# Module: ol/style/Stroke

This documentation is for OpenLayers v10.9.0. The latest is v.

## ol/style/Stroke

### Classes

Stroke

### Type Definitions

#### Options{Object}

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `color` | Color | ColorLike | undefined | A color, gradient or pattern. See `Color` and `ColorLike` for possible formats. Default null; if null, the Canvas/renderer default black will be used.
  `lineCap` | CanvasLineCap (defaults to 'round') | Line cap style: `butt`, `round`, or `square`.
  `lineJoin` | CanvasLineJoin (defaults to 'round') | Line join style: `bevel`, `round`, or `miter`.
  `lineDash` | Array.<number> | undefined | Line dash pattern. Default is `null` (no dash).
  `lineDashOffset` | number (defaults to 0) | Line dash offset.
  `miterLimit` | number (defaults to 10) | Miter limit.
  `offset` | number | undefined | Line offset in pixels along the normal. A positive value offsets the line to the right, relative to the direction of the line. Default is `undefined` (no offset).
  `width` | number | undefined | Width.