slope

abstract val slope: Double

The slope of the line, if isVertical this is undefined (= Double.NaN).