> For the complete documentation index, see [llms.txt](https://interopxyz.gitbook.io/graphic-plus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://interopxyz.gitbook.io/graphic-plus/components/graphics/stroke.md).

# Stroke

Applies Stroke properties to a Shape

## Description

Applies Stroke properties to a Shape

{% tabs %}
{% tab title="Preview" %}
![](https://3812251213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJc5xO1Wiq8RypHg00wGA%2Fuploads%2FfzPjmS46X6FuTBUyF3Oq%2FComponent-Stroke.png?alt=media\&token=6380e795-47c7-4d4e-85ae-d9658cf048ca)
{% endtab %}

{% tab title="Location" %}
**Name** | Stroke

**Nickname** | Stroke

**Tab** | Display

**Panel** | Graphics

**Division** | 1
{% endtab %}

{% tab title="Inputs" %}
**S** | **Shape / Geometry** (*G+Shape, Curve, Brep, Mesh*) | A Shape, or a Curve, Brep, Mesh

**C** | **Color** (*Colour*) | The stroke color

**W** | **Weight** (*Number*) | The stroke weight

**P** | **Pattern** (*Number*) | The stroke pattern

**E** | **End Cap** (*Integer*) | The shape to be used at the end of open path
{% endtab %}

{% tab title="Ouputs" %}
**S** | **Shape** (*G+ Shape*) | A Graphic Plus Shape Object
{% endtab %}

{% tab title="Mode" %}

<div align="left"><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJc5xO1Wiq8RypHg00wGA%2Fuploads%2FthP76ws6Ip5Cd0wJqiMC%2Fimage.png?alt=media&#x26;token=26936339-35a1-4f1d-92fc-fff3d12345c6" alt=""></div>

​*​***Save Image** | Opens a file save dialog to save a raster image file of the current drawing.

**Save SVG** | Opens a file save dialog to save an SVG vector file of the current drawing
{% endtab %}
{% endtabs %}

## Usage

![](https://3812251213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJc5xO1Wiq8RypHg00wGA%2Fuploads%2FAn0jrGPPXLnfgi3CDjSi%2FStroke.gif?alt=media\&token=8469f786-889b-4d50-85a5-f370329c7938)
