SubduedFillPainter

class SubduedFillPainter : StandardFillPainter

Fill painter that returns images with subdued gradient appearance.

Author

Kirill Grouchnikov

Constructors

Link copied to clipboard
fun SubduedFillPainter()

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 override 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.