Skip to content

Curve

Curve is an object type. You don't create it directly: you get one from another call, then call its methods with a colon, e.g. curve:name().

Methods

Function Description Since
name() Get / Set the curve name. 1.1.0
type() Get / Set the type of the curve. 1.1.0
exponent() Get / Set the exponent of the curve. 1.1.0
weight() Get / Set the weight of the exponent curve. 1.1.0
offset() Get / Set the offset of the exponent curve. 1.1.0
functionType() Get / Set the type of the function curve. 1.1.0
pointsCount() Get / Set the points count of the custom curve. 1.1.0
easyMode() Get / Set the custom curve mode (1 is easyMode / -1 not) 1.1.0
smooth() Get / Set the custom curve smooth (1 is smooth / -1 not) 1.1.0
point() Get / Set the point of the custom curve by index. 1.1.0