Package-level declarations
Functions
Link copied to clipboard
fun DrawScope.drawLinePath(path: Path, pointsData: MutableList<Offset>, lineStyle: LineStyle, wave: Wave, yPointOfOrigin: Float)
Link copied to clipboard
fun DrawScope.drawStraightOrCubicLineForWave(pointsData: MutableList<Offset>, lineStyle: LineStyle, yPointOfOrigin: Float = 0.0f, wave: Wave): Path
DrawScope.drawStraightOrCubicLine extension method used for drawing a straight/cubic line for a given Point(x,y).
Link copied to clipboard
fun DrawScope.drawWavePath(path: Path, pointsData: MutableList<Offset>, lineStyle: LineStyle, wave: Wave, yPointOfOrigin: Float): Path
Used to draw the wave
Link copied to clipboard
fun DrawScope.fillCurvePath(yPointOfOrigin: Float, pointPosition: AxisPosition, wave: Wave, startPoint: Offset, endPoint: Offset, cubicPoints1: Offset, cubicPoints2: Offset)
Used to fill the line path
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun DrawScope.fillLinePath(yPointOfOrigin: Float, pointPosition: AxisPosition, wave: Wave, startPoint: Offset, endPoint: Offset)
Used to fill the line path
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Used to find the closest value for a given input
Link copied to clipboard
Used to find the position of the start and end point of the bezier curve
Link copied to clipboard
Link copied to clipboard
Used to get the intersection point between the curve and line
Link copied to clipboard
Link copied to clipboard
Used to returns the interpolated point between p0 and p1 at the given t value.
Link copied to clipboard
WaveChart compose method used for drawing a Wave Chart.