extend

open override fun <T : Extension> extend(extension: T): T(source)

install an Extension

Parameters

extension

the Extension to install


open override fun <T : Extension> extend(extension: T, configure: T.() -> Unit): T(source)

install an Extension and configure it

Return

the installed Extension

Parameters

extension

the Extension to install

configure

a configuration function to called with extension as its receiver


open override fun extend(stage: ExtensionStage, userDraw: Program.() -> Unit)(source)

install an extension function for the given ExtensionStage