AudioCurveRendering.DrawCurve

Declaration

public static void DrawCurve(Rect r, AudioCurveRendering.AudioCurveEvaluator eval, Color curveColor);

Parameters

r Rectangle determining the size of the graph.
eval Curve evaluation function.
curveColor Solid fill color of the curve. The alpha-channel determines the amount of opacity.

Description

Renders a thin curve determined by the curve evaluation function. The solid color of the curve is set by the curveColor argument.


Did you find this page useful? Please give it a rating: