Google is committed to advancing racial equity for Black communities. See how.

SweepGradient

@Immutable class SweepGradient : ShaderBrush
kotlin.Any
   ↳ androidx.compose.ui.graphics.Brush
   ↳ androidx.compose.ui.graphics.ShaderBrush
   ↳ androidx.compose.ui.graphics.SweepGradient

Brush implementation used to apply a sweep gradient on a given Paint

Summary

Public methods
Shader

Boolean
equals(other: Any?)

Int

String

Inherited functions

Public methods

createShader

fun createShader(size: Size): Shader

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String