DelegateFractionBasedBorderPainter

class DelegateFractionBasedBorderPainter(displayName: String, delegate: FractionBasedBorderPainter, masks: LongArray, transform: (AuroraColorScheme) -> AuroraColorScheme) : AuroraBorderPainter

Delegate border painter that allows tweaking the visual appearance of borders.

Author

Kirill Grouchnikov

Constructors

Link copied to clipboard
fun DelegateFractionBasedBorderPainter(displayName: String, delegate: FractionBasedBorderPainter, masks: LongArray, transform: (AuroraColorScheme) -> AuroraColorScheme)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun getRepresentativeColor(borderScheme: AuroraColorScheme): Color
Link copied to clipboard
open override fun paintBorder(drawScope: DrawScope, size: Size, outline: Outline, outlineInner: Outline?, borderScheme: AuroraColorScheme, alpha: Float)

Properties

Link copied to clipboard
val delegate: FractionBasedBorderPainter
Link copied to clipboard
open override val displayName: String

The display name of this trait.

Link copied to clipboard
open override val isPaintingInnerOutline: Boolean = false
Link copied to clipboard
val masks: LongArray
Link copied to clipboard
val transform: (AuroraColorScheme) -> AuroraColorScheme