---
title: "Interface: IDefaultTextStroke | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/WidgetConfigurationInterfaces.IDefaultTextStroke/"
---

# Interface: IDefaultTextStroke

> A structure defining a range of values, a color, and a size of text stroke.

## Example

```js
configuration = {
   widgets: {
        TopToolbar: {
            textStrokeButtonEnabled: true,
            textStrokeColorButtonEnabled: true,
            textStroke: { max: 1, min: 0.1, step: 0.1, color: "azure" }
        }
   }
};
```

## Extends

- [`IRangeParams`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/WidgetConfigurationInterfaces.IRangeParams.md)

## Properties

### min?

> `optional` **min?**: `number`

Sets a max value of a range.

#### Inherited from

[`IRangeParams`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/WidgetConfigurationInterfaces.IRangeParams.md).[`min`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/WidgetConfigurationInterfaces.IRangeParams.md#min)

***

### max?

> `optional` **max?**: `number`

Sets a min value of a range.

#### Inherited from

[`IRangeParams`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/WidgetConfigurationInterfaces.IRangeParams.md).[`max`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/WidgetConfigurationInterfaces.IRangeParams.md#max)

***

### step?

> `optional` **step?**: `number`

The parameter changes by this step value.

#### Inherited from

[`IRangeParams`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/WidgetConfigurationInterfaces.IRangeParams.md).[`step`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/WidgetConfigurationInterfaces.IRangeParams.md#step)

***

### color?

> `optional` **color?**: `string`

The text color, in CSS format.

***

### size?

> `optional` **size?**: `number`

The text stroke size.
