---
title: "strokeBorder(lineWidth:)"
framework: charts
role: symbol
role_heading: Instance Method
path: "charts/basicchartsymbolshape/strokeborder(linewidth:)"
---

# strokeBorder(lineWidth:)

Creates a stroked symbol shape by inner-stroking the basic symbol shape.

## Declaration

```swift
func strokeBorder(lineWidth: CGFloat = 1) -> some ChartSymbolShape

```

## Parameters

- `lineWidth`: The stroke line width.

## Return Value

Return Value A symbol shape that strokes the shape of self.
