StandardFillPainter

open class StandardFillPainter : AuroraFillPainter

Fill painter that paints a subtle gradient appearance.

Author

Kirill Grouchnikov

Constructors

Link copied to clipboard
fun StandardFillPainter()

Functions

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.

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.

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.

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.

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

Properties

Link copied to clipboard
open override val displayName: String

The display name of this trait.

Inheritors

Link copied to clipboard
Link copied to clipboard