---
title: "PaintingStyle"
description: "Strategies for painting shapes and paths on a canvas.

See [Paint.style]."
type: "class"
---

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


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

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


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


Strategies for painting shapes and paths on a canvas.

See `Paint.style`.


## Companion Object

#### Properties

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


```kotlin
val Fill = PaintingStyle(0)
```


Apply the `Paint` to the inside of the shape. For example, when applied to the
`Canvas.drawCircle` call, this results in a disc of the given size being painted.



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


```kotlin
val Stroke = PaintingStyle(1)
```


Apply the `Paint` to the edge of the shape. For example, when applied to the
`Canvas.drawCircle` call, this results is a hoop of the given size being painted. The
line drawn on the edge will be the width given by the `Paint.strokeWidth` property.





