---
title: "StrokeJoin"
description: "Styles to use for line joins.

This only affects line joins for polygons drawn by [Canvas.drawPath] and rectangles, not points
drawn as lines with [Canvas.drawPoints]. See [Paint.strokeJoin]."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
value class StrokeJoin internal constructor(@Suppress("unused") private val value: Int)
```


Styles to use for line joins.

This only affects line joins for polygons drawn by `Canvas.drawPath` and rectangles, not points
drawn as lines with `Canvas.drawPoints`. See `Paint.strokeJoin`.


## Companion Object

#### Properties

<div class='sourceset sourceset-common'>Common</div>


```kotlin
val Miter = StrokeJoin(0)
```


Joins between line segments form sharp corners.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val Round = StrokeJoin(1)
```


Joins between line segments are semi-circular.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val Bevel = StrokeJoin(2)
```


Joins between line segments connect the corners of the butt ends of the line segments to
give a beveled appearance.





