---
title: "ContentDrawScope"
description: "Receiver scope for drawing content into a layout, where the content can be drawn between other
canvas operations. If [drawContent] is not called, the contents of the layout will not be drawn."
type: "interface"
---

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


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

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



```kotlin
@JvmDefaultWithCompatibility
interface ContentDrawScope : DrawScope
```


Receiver scope for drawing content into a layout, where the content can be drawn between other
canvas operations. If `drawContent` is not called, the contents of the layout will not be drawn.


## Functions

```kotlin
fun drawContent()
```


Causes child drawing operations to run during the `onPaint` lambda.



