ClassicBorderPainter

class ClassicBorderPainter : StandardBorderPainter

Border painter that returns images with classic appearance.

Author

Kirill Grouchnikov

Constructors

ClassicBorderPainter
Link copied to clipboard
fun ClassicBorderPainter()

Functions

getBottomBorderColor
Link copied to clipboard
open override fun getBottomBorderColor(borderScheme: AuroraColorScheme): Color

Computes the color of the bottom portion of the border. Override to provide different visual.

getMidBorderColor
Link copied to clipboard
open override fun getMidBorderColor(borderScheme: AuroraColorScheme): Color

Computes the color of the middle portion of the border. Override to provide different visual.

getRepresentativeColor
Link copied to clipboard
open override fun getRepresentativeColor(borderScheme: AuroraColorScheme): Color
getTopBorderColor
Link copied to clipboard
open override fun getTopBorderColor(borderScheme: AuroraColorScheme): Color

Computes the color of the top portion of the border. Override to provide different visual.

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

Properties

displayName
Link copied to clipboard
open override val displayName: String

The display name of this trait.

isPaintingInnerOutline
Link copied to clipboard
open override val isPaintingInnerOutline: Boolean