expand

fun expand(factor: Double)

Expands the envelope by the given scale factor. A factor of less than 1.0 shrinks the envelope and greater than 1.0 expands it. The envelope's center remains unchanged, but its corners change.

Since

200.1.0

Parameters

factor

The factor to scale the envelope by.


fun expand(anchor: Point, factor: Double)

Expands the envelope at the anchor point by the given factor. A factor of less than 1.0 shrinks the envelope and greater than 1.0 expands it.

Since

200.1.0

Parameters

anchor

The point to anchor at.

factor

The factor to scale the envelope by.