<br />

Represents a single user-drawn stroke for interactive segmentation.

**Signature:**

    export declare interface Stroke 

## Properties

| Property | Modifiers | Type | Description |
|---|---|---|---|
| [brushMode](https://developers.google.com/edge/api/mediapipe/js/tasks-vision.stroke#strokebrushmode) |   | BrushMode | The brush mode used for this stroke. |
| [point](https://developers.google.com/edge/api/mediapipe/js/tasks-vision.stroke#strokepoint) |   | readonly Point\[\] | The sequence of normalized points forming the stroke. |
| [isCompleted](https://developers.google.com/edge/api/mediapipe/js/tasks-vision.stroke#strokeiscompleted) |   | boolean | Whether the stroke is complete. |

## Stroke.brushMode {#strokebrushmode}

The brush mode used for this stroke.

**Signature:**

    readonly brushMode: BrushMode;

## Stroke.point {#strokepoint}

The sequence of normalized points forming the stroke.

**Signature:**

    readonly point: readonly Point[];

## Stroke.isCompleted {#strokeiscompleted}

Whether the stroke is complete.

**Signature:**

    readonly isCompleted: boolean;