extend

abstract fun extend(step: Double): Boolean(source)

Extends the polygon in each direction: each edge is given a chance to advance.

Parameters

step

the length of the vector that will be used to advance each edge, negative values are supported and will shrink the polygon instead of extending it.