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
FractionBasedFillPainter
Link copied to clipboard
fun FractionBasedFillPainter(vararg colorQueryStops: ColorQueryStop, displayName: String)
Content copied to clipboard
Functions
get Color Queries
Link copied to clipboard
Returns the color queries of this painter.
get Fractions
Link copied to clipboard
Returns the fractions of this painter.
paint Contour Background
Link copied to clipboard
open override fun paintContourBackground(drawScope: DrawScope, size: Size, outline: Outline, fillScheme: AuroraColorScheme, alpha: Float)
Content copied to clipboard
Properties
displayName
Link copied to clipboard