MatteFillPainter

class MatteFillPainter : ClassicFillPainter

Fill painter that returns images with matte appearance.

Author

Kirill Grouchnikov

Constructors

MatteFillPainter
Link copied to clipboard
fun MatteFillPainter()

Functions

getBottomFillColor
Link copied to clipboard
open override 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 override 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 override 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.