ComposeBrush

@Serializable(with = ComposeBrushSerializer::class)
sealed interface ComposeBrush : ComposeType<String> , MethodSizeAccountable(source)

Inheritors

Types

Link copied to clipboard
@Serializable
sealed interface Gradient : ComposeBrush
Link copied to clipboard
@Serializable
value class SolidColor(val value: String) : ComposeBrush

Properties

Link copied to clipboard
abstract val approximateByteSize: Int

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

Link copied to clipboard
abstract val imports: Set<String>
Link copied to clipboard
abstract val name: String
Link copied to clipboard
abstract val value: String

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun toCompose(): String?

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