stop

fun stop(block: StopBuilder.() -> Unit)

Adds a <stop> child element to the <linearGradient> element.

Parameters

block

A lambda to configure the <stop> element.