Curve.setRange

Warning gtk_curve_set_range has been deprecated since version 2.20 and should not be used in newly-written code. Don't use this widget anymore. Sets the minimum and maximum x and y values of the curve. The curve is also reset with a call to gtk_curve_reset().

class Curve
void
setRange
(
float minX
,
float maxX
,
float minY
,
float maxY
)

Parameters

minX float

the minimum x value.

maxX float

the maximum x value.

minY float

the minimum y value.

maxY float

the maximum y value.

Meta