Fraction Based Fill Painter
class FractionBasedFillPainter(colorQueryStops: ColorQueryStop, displayName: String) : FractionBasedPainter, AuroraFillPainter
Content copied to clipboard
Fill painter with fraction-based stops and a color query associated with each stop. This class allows creating multi-gradient fills with exact control over which color is used at every gradient control point.
Author
Kirill Grouchnikov
Constructors
Link copied to clipboard
fun FractionBasedFillPainter(vararg colorQueryStops: ColorQueryStop, displayName: String)
Content copied to clipboard
Functions
Link copied to clipboard
Returns the color queries of this painter.
Link copied to clipboard
Returns the fractions of this painter.
Link copied to clipboard
open override fun paintContourBackground(drawScope: DrawScope, size: Size, outline: Outline, fillScheme: AuroraColorScheme, alpha: Float)
Content copied to clipboard