Sweep

@Serializable
data class Sweep(val center: ComposeOffset?, val colors: List<ComposeColor>, val stops: List<Float>? = null) : ComposeBrush.Gradient(source)

Constructors

Link copied to clipboard
constructor(center: ComposeOffset?, colors: List<ComposeColor>, stops: List<Float>? = null)

Properties

Link copied to clipboard
open override val approximateByteSize: Int

Represents the approximate bytecode size accounted for by the current type or instruction within a method.

Link copied to clipboard
Link copied to clipboard
open override val colors: List<ComposeColor>
Link copied to clipboard
open override val imports: Set<String>
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val stops: List<Float>?
Link copied to clipboard
open override val value: String

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toCompose(): String

Provides a way to get the canonical string representation of the ComposeType implementation.