> Documentation index: https://developer.android.com/reference/llms.txt

# Fill.None

Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation.md.txt) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleProperty.kt+class:androidx.compose.foundation.style.Fill.None) Added in [1.13.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation.md.txt#1.13.0) Common/All
- Cmn

  ```
  class Fill.None : Fill
  ```

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.compose.foundation.style.Fill](https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Fill.md.txt) ||
|   | ↳ | [androidx.compose.foundation.style.Fill.None](https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Fill.None.md.txt) |

*** ** * ** ***

Represents an empty fill with no visual representation.

## Summary

| ### Public functions |
|---|---|---|
| `open Brush?` | `asBrush()` Return a brush if the `Fill` is a `Fill.Brush`, otherwise `null`. | Cmn |
| `open Color` | `asColor()` Return the color of this `Fill` if it is a `Fill.Color` or `Color.Unspecified` if `Fill.None` or `Fill.Brush`. | Cmn |

### Inherited functions

From [androidx.compose.foundation.style.Fill](https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Fill.md.txt) `open Any?` `lerp(other: Any?, t: Float)`

This method is defined such that a value of `t` being 1.0 means that the interpolation has finished, meaning that this method should return either `other` (or something equivalent to `other`), 0.0 meaning that the interpolation has not started, returning `this` (or something equivalent to `this`), and values in between meaning that the interpolation is at the relevant point on the timeline between `this` and `other`.
Cmn

## Public functions

### asBrush

Cmn

```
open fun asBrush(): Brush?
```

Return a brush if the `Fill` is a `Fill.Brush`, otherwise `null`.

### asColor

Cmn

```
open fun asColor(): Color
```

Return the color of this `Fill` if it is a `Fill.Color` or `Color.Unspecified` if `Fill.None` or `Fill.Brush`.