StandardFillPainter

open class StandardFillPainter : AuroraFillPainter

Fill painter that paints a subtle gradient appearance.

Author

Kirill Grouchnikov

Constructors

StandardFillPainter
Link copied to clipboard
fun StandardFillPainter()

Functions

getBottomFillColor
Link copied to clipboard
open fun getBottomFillColor(fillScheme: AuroraColorScheme): Color

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

getMidFillColorBottom
Link copied to clipboard
open fun getMidFillColorBottom(fillScheme: AuroraColorScheme): Color

Computes the color of the middle portion of the fill from the bottom. Override to provide different visual.

getMidFillColorTop
Link copied to clipboard
open fun getMidFillColorTop(fillScheme: AuroraColorScheme): Color

Computes the color of the middle portion of the fill from the top. Override to provide different visual.

getTopFillColor
Link copied to clipboard
open fun getTopFillColor(fillScheme: AuroraColorScheme): Color

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

paintContourBackground
Link copied to clipboard
open override fun paintContourBackground(drawScope: DrawScope, size: Size, outline: Outline, fillScheme: AuroraColorScheme, alpha: Float)

Properties

displayName
Link copied to clipboard
open override val displayName: String

The display name of this trait.

Inheritors

ClassicFillPainter
Link copied to clipboard
SubduedFillPainter
Link copied to clipboard