Represents an empty fill with no visual representation.

Summary

Public functions

open Brush?

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

Cmn
open Color

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
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

open fun asBrush(): Brush?

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

asColor

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.